#include <PropertyItem.h>
Public Member Functions | |
bool | canFetchMore () const |
int | columnCount () const |
QVariant | data (int column, int role) const |
void | fetchMore () |
Qt::ItemFlags | flags () const |
std::vector < te::qt::widgets::AbstractTreeItem * > | getAncestors () |
std::vector < te::qt::widgets::AbstractTreeItem * > | getDescendants () |
const std::string | getItemType () const |
It returns the item type. More... | |
te::map::AbstractLayerPtr | getLayer () const |
QMenu * | getMenu (QWidget *parent=0) const |
te::dt::Property * | getProperty () const |
bool | hasChildren () const |
bool | isSelected () |
Check if the Property is selected. More... | |
PropertyItem (te::dt::Property *p, te::qt::widgets::AbstractTreeItem *parent) | |
bool | setData (int column, const QVariant &value, int role=Qt::EditRole) |
void | setSelected (bool selected) |
Set the Property as selected. More... | |
~PropertyItem () | |
Private Attributes | |
te::dt::Property * | m_property |
Terralib Property of the LayerItem. More... | |
bool | m_selected |
Property select state. More... | |
Definition at line 40 of file PropertyItem.h.
te::vp::PropertyItem::PropertyItem | ( | te::dt::Property * | p, |
te::qt::widgets::AbstractTreeItem * | parent | ||
) |
te::vp::PropertyItem::~PropertyItem | ( | ) |
Definition at line 43 of file PropertyItem.cpp.
|
virtual |
Implements te::qt::widgets::AbstractTreeItem.
Definition at line 78 of file PropertyItem.cpp.
|
virtual |
Implements te::qt::widgets::AbstractTreeItem.
Definition at line 49 of file PropertyItem.cpp.
|
virtual |
Implements te::qt::widgets::AbstractTreeItem.
Definition at line 54 of file PropertyItem.cpp.
References te::vp::LayerItem::isSelected().
|
virtual |
Implements te::qt::widgets::AbstractTreeItem.
Definition at line 88 of file PropertyItem.cpp.
|
virtual |
Implements te::qt::widgets::AbstractTreeItem.
Definition at line 83 of file PropertyItem.cpp.
|
inherited |
Definition at line 60 of file AbstractTreeItem.cpp.
Referenced by te::qt::widgets::LayerTreeView::onItemClicked().
|
inherited |
Definition at line 38 of file AbstractTreeItem.cpp.
References te::qt::widgets::AbstractTreeItem::getDescendants().
Referenced by te::qt::widgets::AbstractTreeItem::getDescendants(), and te::qt::widgets::LayerTreeView::onItemClicked().
|
virtual |
It returns the item type.
Implements te::qt::widgets::AbstractTreeItem.
Definition at line 140 of file PropertyItem.cpp.
|
virtual |
Implements te::qt::widgets::AbstractTreeItem.
Definition at line 125 of file PropertyItem.cpp.
|
virtual |
Implements te::qt::widgets::AbstractTreeItem.
Definition at line 67 of file PropertyItem.cpp.
te::dt::Property * te::vp::PropertyItem::getProperty | ( | ) | const |
Definition at line 120 of file PropertyItem.cpp.
Referenced by te::vp::LayerItem::getSelected().
|
virtual |
Implements te::qt::widgets::AbstractTreeItem.
Definition at line 92 of file PropertyItem.cpp.
bool te::vp::PropertyItem::isSelected | ( | ) |
Check if the Property is selected.
Definition at line 135 of file PropertyItem.cpp.
Referenced by te::vp::LayerItem::getSelected().
|
virtual |
Implements te::qt::widgets::AbstractTreeItem.
Definition at line 97 of file PropertyItem.cpp.
void te::vp::PropertyItem::setSelected | ( | bool | selected | ) |
Set the Property as selected.
selected | True or False to Property select state. |
Definition at line 130 of file PropertyItem.cpp.
Referenced by te::vp::LayerItem::setData().
|
private |
Terralib Property of the LayerItem.
Definition at line 88 of file PropertyItem.h.
|
private |
Property select state.
Definition at line 89 of file PropertyItem.h.