#include "PropertyGrid.h"
Classes | |
| class | PropertyGridTree |
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. | |
| TreeWidget * | getTreeWidget (void) const |
| void | setupGridFromConfig (const PropertyGridCfg &_config) |
| void | addGroup (PropertyGridGroup *_group) |
| PropertyGridGroup * | findGroup (const std::string &_groupName) const |
| PropertyGridGroup * | findGroup (const std::list< std::string > &_groupPath) const |
| PropertyGridItem * | findItem (const std::string &_groupName, const std::string &_itemName) const |
| PropertyGridItem * | findItem (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 WidgetFlags & | otWidgetFlags (void) const |
| virtual void | otWidgetFlagsChanged (const WidgetFlags &_flags) |
| void | centerOnParent (const QWidget *const _parentWidget) |
| Centers this widget on the parent. If no parent is provided the widget will center on the screen. | |
| QPoint | calculateCenterOnParentPos (const QWidget *const _parentWidget) |
| Calculates the top left corner of this widget centered on the parent widget. If no parent is provided the widget will center on the screen. | |
Additional Inherited Members | |
Protected Attributes inherited from ot::QWidgetInterface | |
| WidgetFlags | m_widgetFlags |
| ot::PropertyGrid::PropertyGrid | ( | QObject * | _parentObject = (QObject*)nullptr | ) |
|
virtual |
| void ot::PropertyGrid::addGroup | ( | PropertyGridGroup * | _group | ) |
| void ot::PropertyGrid::clear | ( | void | ) |
| ot::PropertyGridGroup * ot::PropertyGrid::findGroup | ( | const std::list< std::string > & | _groupPath | ) | const |
| ot::PropertyGridGroup * ot::PropertyGrid::findGroup | ( | const std::string & | _groupName | ) | const |
| ot::PropertyGridItem * ot::PropertyGrid::findItem | ( | const std::list< std::string > & | _groupPath, |
| const std::string & | _itemName ) const |
| ot::PropertyGridItem * ot::PropertyGrid::findItem | ( | const std::string & | _groupName, |
| const std::string & | _itemName ) const |
| void ot::PropertyGrid::focusProperty | ( | const std::list< std::string > & | _groupPath, |
| const std::string & | _itemName ) |
| void ot::PropertyGrid::focusProperty | ( | const std::string & | _groupName, |
| const std::string & | _itemName ) |
|
overridevirtual |
Returns a pointer to the root widget of this object.
Implements ot::QWidgetInterface.
| ot::TreeWidget * ot::PropertyGrid::getTreeWidget | ( | void | ) | const |
|
signal |
|
signal |
| void ot::PropertyGrid::setupGridFromConfig | ( | const PropertyGridCfg & | _config | ) |