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

#include "PropertyGrid.h"

Inheritance diagram for ot::PropertyGrid:
ot::QWidgetInterface

Signals

void propertyChanged (const Property *const _property)
 
void propertyDeleteRequested (const Property *const _property)
 

Public Member Functions

 PropertyGrid (QObject *_parentObject=(QObject *) nullptr)
 
virtual ~PropertyGrid ()
 
virtual QWidget * getQWidget (void) override
 Returns a pointer to the root widget of this object.
 
virtual const QWidget * getQWidget (void) const override
 
TreeWidgetgetTreeWidget (void) const
 
void setupGridFromConfig (const PropertyGridCfg &_config)
 
void addGroup (PropertyGridGroup *_group)
 
PropertyGridGroupfindGroup (const std::string &_groupName) const
 
PropertyGridGroupfindGroup (const std::list< std::string > &_groupPath) const
 
PropertyGridItemfindItem (const std::string &_groupName, const std::string &_itemName) const
 
PropertyGridItemfindItem (const std::list< std::string > &_groupPath, const std::string &_itemName) const
 
void clear (void)
 
void focusProperty (const std::string &_groupName, const std::string &_itemName)
 
void focusProperty (const std::list< std::string > &_groupPath, const std::string &_itemName)
 
- Public Member Functions inherited from ot::QWidgetInterface
 QWidgetInterface ()
 
virtual ~QWidgetInterface ()
 
void setOTWidgetFlags (const WidgetFlags &_flags)
 
const WidgetFlagsotWidgetFlags (void) const
 

Additional Inherited Members

- Protected Member Functions inherited from ot::QWidgetInterface
virtual void otWidgetFlagsChanged (const WidgetFlags &_flags)
 

Constructor & Destructor Documentation

◆ PropertyGrid()

ot::PropertyGrid::PropertyGrid ( QObject * _parentObject = (QObject*)nullptr)

◆ ~PropertyGrid()

ot::PropertyGrid::~PropertyGrid ( )
virtual

Member Function Documentation

◆ addGroup()

void ot::PropertyGrid::addGroup ( PropertyGridGroup * _group)

◆ clear()

void ot::PropertyGrid::clear ( void )

◆ findGroup() [1/2]

ot::PropertyGridGroup * ot::PropertyGrid::findGroup ( const std::list< std::string > & _groupPath) const

◆ findGroup() [2/2]

ot::PropertyGridGroup * ot::PropertyGrid::findGroup ( const std::string & _groupName) const

◆ findItem() [1/2]

ot::PropertyGridItem * ot::PropertyGrid::findItem ( const std::list< std::string > & _groupPath,
const std::string & _itemName ) const

◆ findItem() [2/2]

ot::PropertyGridItem * ot::PropertyGrid::findItem ( const std::string & _groupName,
const std::string & _itemName ) const

◆ focusProperty() [1/2]

void ot::PropertyGrid::focusProperty ( const std::list< std::string > & _groupPath,
const std::string & _itemName )

◆ focusProperty() [2/2]

void ot::PropertyGrid::focusProperty ( const std::string & _groupName,
const std::string & _itemName )

◆ getQWidget() [1/2]

const QWidget * ot::PropertyGrid::getQWidget ( void ) const
overridevirtual

Implements ot::QWidgetInterface.

◆ getQWidget() [2/2]

QWidget * ot::PropertyGrid::getQWidget ( void )
overridevirtual

Returns a pointer to the root widget of this object.

Implements ot::QWidgetInterface.

◆ getTreeWidget()

ot::TreeWidget * ot::PropertyGrid::getTreeWidget ( void ) const

◆ propertyChanged

void ot::PropertyGrid::propertyChanged ( const Property *const _property)
signal

◆ propertyDeleteRequested

void ot::PropertyGrid::propertyDeleteRequested ( const Property *const _property)
signal

◆ setupGridFromConfig()

void ot::PropertyGrid::setupGridFromConfig ( const PropertyGridCfg & _config)

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