OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
ot::PropertyGridItem Class Reference

#include "PropertyGridItem.h"

Inheritance diagram for ot::PropertyGridItem:
ot::TreeWidgetItem

Signals

void inputValueChanged (const ot::Property *const _property)
 
void deleteRequested (const ot::Property *const _property)
 

Public Member Functions

 PropertyGridItem ()
 
virtual ~PropertyGridItem ()
 
virtual bool setupFromConfig (const Property *_config)
 Setup the item Note that the item must be placed in a tree before calling the setup.
 
void finishSetup (void)
 Finish the setup (should be called after the item is placed in a tree and after calling setup from config)
 
void setParentPropertyGroup (PropertyGridGroup *_group)
 
PropertyGridGroupgetParentPropertyGroup (void) const
 
std::string getGroupName (void) const
 Returns the name of the parent group. A parent group must be set.
 
void setTitle (const QString &_title)
 
QString getTitle (void) const
 
void setInput (PropertyInput *_input)
 
PropertyInputgetInput (void) const
 
PropertyBase getPropertyData (void) const
 
std::string getPropertyType (void) const
 
- Public Member Functions inherited from ot::TreeWidgetItem
 TreeWidgetItem (int _type=0)
 
 TreeWidgetItem (const TreeWidgetItemInfo &_itemInfo, int _type=0)
 
virtual ~TreeWidgetItem ()
 
void setNavigationItemFlag (NavigationTreeItemFlag _flag, bool _active=true)
 
void setNavigationItemFlags (NavigationTreeItemFlags _flags)
 
NavigationTreeItemFlags navigationItemFlags (void) const
 
TreeWidgetItemInfo getFullInfo (void) const
 Returns the item info The information returned only contains the path to this item (other childs of parent items are ignored)
 
std::string getTreeWidgetItemPath (char _delimiter='/', int _nameColumn=0) const
 
void expandAllParents (bool _expandThis=false)
 

Constructor & Destructor Documentation

◆ PropertyGridItem()

ot::PropertyGridItem::PropertyGridItem ( )

◆ ~PropertyGridItem()

ot::PropertyGridItem::~PropertyGridItem ( )
virtual

Member Function Documentation

◆ deleteRequested

void ot::PropertyGridItem::deleteRequested ( const ot::Property *const _property)
signal

◆ finishSetup()

void ot::PropertyGridItem::finishSetup ( void )

Finish the setup (should be called after the item is placed in a tree and after calling setup from config)

◆ getGroupName()

std::string ot::PropertyGridItem::getGroupName ( void ) const

Returns the name of the parent group. A parent group must be set.

◆ getInput()

PropertyInput * ot::PropertyGridItem::getInput ( void ) const
inline

◆ getParentPropertyGroup()

PropertyGridGroup * ot::PropertyGridItem::getParentPropertyGroup ( void ) const
inline

◆ getPropertyData()

ot::PropertyBase ot::PropertyGridItem::getPropertyData ( void ) const

◆ getPropertyType()

std::string ot::PropertyGridItem::getPropertyType ( void ) const

◆ getTitle()

QString ot::PropertyGridItem::getTitle ( void ) const

◆ inputValueChanged

void ot::PropertyGridItem::inputValueChanged ( const ot::Property *const _property)
signal

◆ setInput()

void ot::PropertyGridItem::setInput ( PropertyInput * _input)

◆ setParentPropertyGroup()

void ot::PropertyGridItem::setParentPropertyGroup ( PropertyGridGroup * _group)
inline

◆ setTitle()

void ot::PropertyGridItem::setTitle ( const QString & _title)

◆ setupFromConfig()

bool ot::PropertyGridItem::setupFromConfig ( const Property * _config)
virtual

Setup the item Note that the item must be placed in a tree before calling the setup.


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