#include <WMSItemDelegate.h>
Public Member Functions | |
| QStyledItemDelegate * | findDecorator (QStyledItemDelegate *decorated) |
| Returns the Decorator that decorates this item. More... | |
| QStyledItemDelegate * | getDecorated () |
| Returns the pointer of decorated object. More... | |
| void | paint (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const |
| QStyledItemDelegate * | removeDecorator (QStyledItemDelegate *decorated) |
| Removes The decorator of the decorated. More... | |
| WMSItemDelegate (QStyledItemDelegate *decorated, QObject *parent=0) | |
| ~WMSItemDelegate () | |
Protected Attributes | |
| QStyledItemDelegate * | m_decorated |
| The object decorated. More... | |
| bool | m_delDecorated |
| If true, also delete decorated pointer. More... | |
| QIcon | m_icon |
Definition at line 39 of file attic/src/qt/plugins/datasource/wms/WMSItemDelegate.h.
| te::qt::plugins::wms::WMSItemDelegate::WMSItemDelegate | ( | QStyledItemDelegate * | decorated, |
| QObject * | parent = 0 |
||
| ) |
Definition at line 25 of file attic/src/qt/plugins/datasource/wms/WMSItemDelegate.cpp.
References m_icon.
| te::qt::plugins::wms::WMSItemDelegate::~WMSItemDelegate | ( | ) |
Definition at line 33 of file attic/src/qt/plugins/datasource/wms/WMSItemDelegate.cpp.
|
inherited |
Returns the Decorator that decorates this item.
| decorated | The decorated item that we are looking for. |
|
inherited |
Returns the pointer of decorated object.
| void te::qt::plugins::wms::WMSItemDelegate::paint | ( | QPainter * | painter, |
| const QStyleOptionViewItem & | option, | ||
| const QModelIndex & | index | ||
| ) | const |
Definition at line 38 of file attic/src/qt/plugins/datasource/wms/WMSItemDelegate.cpp.
References te::qt::widgets::LayerItem::getLayer(), te::qt::widgets::TreeItem::getType(), te::common::Decorator< QStyledItemDelegate >::m_decorated, m_icon, and paint().
|
inherited |
Removes The decorator of the decorated.
| decorated | The item that we are searching for the decorator. |
|
protectedinherited |
The object decorated.
Definition at line 98 of file Decorator.h.
Referenced by te::qt::plugins::wfs::WFSItemDelegate::paint(), paint(), EditDelegate::paint(), te::qt::plugins::st::STItemDelegate::paint(), te::qt::widgets::ThemeViewDelegate::paint(), te::qt::widgets::RasterLayerDelegate::paint(), te::ws::ogc::wms::qt::WMSItemDelegate::paint(), and te::qt::widgets::LayerViewDelegate::paint().
|
protectedinherited |
If true, also delete decorated pointer.
Definition at line 99 of file Decorator.h.
|
protected |
Definition at line 49 of file attic/src/qt/plugins/datasource/wms/WMSItemDelegate.h.
Referenced by paint(), and WMSItemDelegate().