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

#include "PropertyGridGroup.h"

Inheritance diagram for ot::PropertyGridGroup:
ot::TreeWidgetItem

Signals

void itemInputValueChanged (const ot::Property *const _property)
 
void itemDeleteRequested (const ot::Property *const _property)
 

Public Member Functions

 PropertyGridGroup ()
 
virtual ~PropertyGridGroup ()
 
void setupFromConfig (const PropertyGroup *_group)
 
PropertyGroupcreateConfiguration (bool _includeChildAndProperties) const
 
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
 
void setName (const std::string &_name)
 
const std::string & getName (void) const
 
void setTitle (const QString &_title)
 
QString getTitle (void) const
 
void addProperty (PropertyGridItem *_item)
 
void addChildGroup (PropertyGridGroup *_group)
 
PropertyGridItemfindChildProperty (const std::string &_propertyName, bool _searchChildGroups) const
 
std::list< PropertyGridItem * > childProperties (void) const
 
PropertyGridGroupfindChildGroup (const std::string &_name, bool _searchChildGroups) const
 
std::list< PropertyGridGroup * > childGroups (void) const
 
void updateStateIcon (void)
 
- 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

◆ PropertyGridGroup()

ot::PropertyGridGroup::PropertyGridGroup ( )

◆ ~PropertyGridGroup()

ot::PropertyGridGroup::~PropertyGridGroup ( )
virtual

Member Function Documentation

◆ addChildGroup()

void ot::PropertyGridGroup::addChildGroup ( PropertyGridGroup * _group)

◆ addProperty()

void ot::PropertyGridGroup::addProperty ( PropertyGridItem * _item)

◆ childGroups()

std::list< ot::PropertyGridGroup * > ot::PropertyGridGroup::childGroups ( void ) const

◆ childProperties()

std::list< ot::PropertyGridItem * > ot::PropertyGridGroup::childProperties ( void ) const

◆ createConfiguration()

ot::PropertyGroup * ot::PropertyGridGroup::createConfiguration ( bool _includeChildAndProperties) const

◆ findChildGroup()

ot::PropertyGridGroup * ot::PropertyGridGroup::findChildGroup ( const std::string & _name,
bool _searchChildGroups ) const

◆ findChildProperty()

ot::PropertyGridItem * ot::PropertyGridGroup::findChildProperty ( const std::string & _propertyName,
bool _searchChildGroups ) const

◆ finishSetup()

void ot::PropertyGridGroup::finishSetup ( void )

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

◆ getName()

const std::string & ot::PropertyGridGroup::getName ( void ) const
inline

◆ getParentPropertyGroup()

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

◆ getTitle()

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

◆ itemDeleteRequested

void ot::PropertyGridGroup::itemDeleteRequested ( const ot::Property *const _property)
signal

◆ itemInputValueChanged

void ot::PropertyGridGroup::itemInputValueChanged ( const ot::Property *const _property)
signal

◆ setName()

void ot::PropertyGridGroup::setName ( const std::string & _name)
inline

◆ setParentPropertyGroup()

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

◆ setTitle()

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

◆ setupFromConfig()

void ot::PropertyGridGroup::setupFromConfig ( const PropertyGroup * _group)

◆ updateStateIcon()

void ot::PropertyGridGroup::updateStateIcon ( void )

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