te::qt::widgets::PropertyItem Class Reference

#include <PropertyItem.h>

Inheritance diagram for te::qt::widgets::PropertyItem:
te::qt::widgets::AbstractDataSourceTreeItem

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::PropertygetProperty () 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::Propertym_property
 

Detailed Description

Definition at line 40 of file PropertyItem.h.

Constructor & Destructor Documentation

te::qt::widgets::PropertyItem::PropertyItem ( te::dt::Property p,
AbstractDataSourceTreeItem parent 
)

Constructor.

Parameters
pThe property to be showned. If it is associated to a dataset the item will not take its ownership, otherwise, it will.
parentThe parent item in the tree or NULL if it is a root item.
te::qt::widgets::PropertyItem::~PropertyItem ( )

Member Function Documentation

bool te::qt::widgets::PropertyItem::canFetchMore ( ) const
virtual
int te::qt::widgets::PropertyItem::columnCount ( ) const
virtual
QVariant te::qt::widgets::PropertyItem::data ( int  column,
int  role 
) const
virtual
void te::qt::widgets::PropertyItem::fetchMore ( )
virtual
Qt::ItemFlags te::qt::widgets::PropertyItem::flags ( ) const
virtual
QMenu* te::qt::widgets::PropertyItem::getMenu ( QWidget *  parent = 0) const
virtual
te::dt::Property* te::qt::widgets::PropertyItem::getProperty ( ) const
bool te::qt::widgets::PropertyItem::hasChildren ( ) const
virtual
bool te::qt::widgets::PropertyItem::setData ( const QVariant &  value,
int  role = Qt::EditRole 
)
virtual

Member Data Documentation

te::dt::Property* te::qt::widgets::PropertyItem::m_property
private

Definition at line 76 of file PropertyItem.h.


The documentation for this class was generated from the following file: