WMSItemDelegate.h
Go to the documentation of this file.
1
/* Copyright (C) 2001-2016 National Institute For Space Research (INPE) - Brazil.
2
3
This file is part of the TerraLib - a Framework for building GIS enabled applications.
4
5
TerraLib is free software: you can redistribute it and/or modify
6
it under the terms of the GNU Lesser General Public License as published by
7
the Free Software Foundation, either version 3 of the License,
8
or (at your option) any later version.
9
10
TerraLib is distributed in the hope that it will be useful,
11
but WITHOUT ANY WARRANTY; without even the implied warranty of
12
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
GNU Lesser General Public License for more details.
14
15
You should have received a copy of the GNU Lesser General Public License
16
along with TerraLib. See COPYING. If not, write to
17
TerraLib Team at <terralib-team@terralib.org>.
18
*/
19
20
/*!
21
\file terralib/ws/ogc/wms/qt/WMSItemDelegate.h
22
23
\brief Implements Terralib item delegate for OGCWMSLAYER.
24
25
\author Emerson Moraes
26
*/
27
28
#ifndef __TERRALIB_WS_OGC_WMS_QT_WMSITEMDELEGATE_H
29
#define __TERRALIB_WS_OGC_WMS_QT_WMSITEMDELEGATE_H
30
31
// TerraLib
32
#include "
Config.h
"
33
#include "../../../../common/Decorator.h"
34
35
// Qt
36
#include <QIcon>
37
#include <QStyledItemDelegate>
38
39
namespace
te
40
{
41
namespace
ws
42
{
43
namespace
ogc
44
{
45
namespace
wms
46
{
47
namespace
qt
48
{
49
50
class
TEOGCWMSQTEXPORT
WMSItemDelegate
:
public
te::common::Decorator
<QStyledItemDelegate>
51
{
52
53
public
:
54
55
WMSItemDelegate
(QStyledItemDelegate* decorated, QObject* parent = 0);
56
57
~
WMSItemDelegate
();
58
59
void
paint(QPainter * painter,
const
QStyleOptionViewItem & option,
const
QModelIndex & index)
const
;
60
61
protected
:
62
QIcon
m_icon
;
63
64
};
65
}
66
}
67
}
68
}
69
}
70
71
#endif
te::ws::ogc::wms::qt::WMSItemDelegate::m_icon
QIcon m_icon
Definition:
WMSItemDelegate.h:62
te::common::Decorator
Definition:
Decorator.h:42
te
TerraLib.
Definition:
AddressGeocodingOp.h:51
Config.h
Configuration flags for the TerraLib WMS QT module.
te::ws::ogc::wms::qt::WMSItemDelegate
Definition:
WMSItemDelegate.h:50
TEOGCWMSQTEXPORT
#define TEOGCWMSQTEXPORT
Definition:
Config.h:66
git_release
src
terralib
ws
ogc
wms
qt
WMSItemDelegate.h
Generated on Thu Dec 19 2019 11:46:47 for TerraLib by
1.8.14