#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 |
| QMenu * | getMenu (QWidget *parent=0) const |
| te::dt::Property * | getProperty () const |
| bool | hasChildren () const |
| PropertyItem (te::dt::Property *p, AbstractDataSourceTreeItem *parent) | |
| Constructor. More... | |
| bool | setData (const QVariant &value, int role=Qt::EditRole) |
| ~PropertyItem () | |
Private Attributes | |
| te::dt::Property * | m_property |
Definition at line 40 of file PropertyItem.h.
| te::qt::widgets::PropertyItem::PropertyItem | ( | te::dt::Property * | p, |
| AbstractDataSourceTreeItem * | parent | ||
| ) |
Constructor.
| p | The property to be showned. If it is associated to a dataset the item will not take its ownership, otherwise, it will. |
| parent | The parent item in the tree or NULL if it is a root item. |
Definition at line 37 of file PropertyItem.cpp.
| te::qt::widgets::PropertyItem::~PropertyItem | ( | ) |
Definition at line 43 of file PropertyItem.cpp.
|
virtual |
Implements te::qt::widgets::AbstractDataSourceTreeItem.
Definition at line 82 of file PropertyItem.cpp.
|
virtual |
Implements te::qt::widgets::AbstractDataSourceTreeItem.
Definition at line 49 of file PropertyItem.cpp.
Implements te::qt::widgets::AbstractDataSourceTreeItem.
Definition at line 54 of file PropertyItem.cpp.
References te::dt::GEOMETRY_TYPE, te::dt::Property::getName(), te::dt::Property::getType(), and m_property.
|
virtual |
Implements te::qt::widgets::AbstractDataSourceTreeItem.
Definition at line 92 of file PropertyItem.cpp.
|
virtual |
Implements te::qt::widgets::AbstractDataSourceTreeItem.
Definition at line 87 of file PropertyItem.cpp.
|
virtual |
Implements te::qt::widgets::AbstractDataSourceTreeItem.
Definition at line 71 of file PropertyItem.cpp.
| te::dt::Property * te::qt::widgets::PropertyItem::getProperty | ( | ) | const |
Definition at line 106 of file PropertyItem.cpp.
References m_property.
|
virtual |
Implements te::qt::widgets::AbstractDataSourceTreeItem.
Definition at line 96 of file PropertyItem.cpp.
|
virtual |
Implements te::qt::widgets::AbstractDataSourceTreeItem.
Definition at line 101 of file PropertyItem.cpp.
|
private |
Definition at line 76 of file PropertyItem.h.
Referenced by data(), and getProperty().