|
The QtGroupBoxPropertyBrowser class provides a QGroupBox based property browser. More...
#include <ArmarXGui/libraries/qtpropertybrowser/src/qtgroupboxpropertybrowser.h>
Public Member Functions | |
QtGroupBoxPropertyBrowser (QWidget *parent=0) | |
~QtGroupBoxPropertyBrowser () override | |
Public Member Functions inherited from QtAbstractPropertyBrowser | |
void | clear () |
QtBrowserItem * | currentItem () const |
QList< QtBrowserItem * > | items (QtProperty *property) const |
QList< QtProperty * > | properties () const |
QtAbstractPropertyBrowser (QWidget *parent=0) | |
void | setCurrentItem (QtBrowserItem *) |
template<class PropertyManager > | |
void | setFactoryForManager (PropertyManager *manager, QtAbstractEditorFactory< PropertyManager > *factory) |
QtBrowserItem * | topLevelItem (QtProperty *property) const |
QList< QtBrowserItem * > | topLevelItems () const |
void | unsetFactoryForManager (QtAbstractPropertyManager *manager) |
~QtAbstractPropertyBrowser () override | |
Protected Member Functions | |
void | itemChanged (QtBrowserItem *item) override |
void | itemInserted (QtBrowserItem *item, QtBrowserItem *afterItem) override |
void | itemRemoved (QtBrowserItem *item) override |
Protected Member Functions inherited from QtAbstractPropertyBrowser | |
virtual QWidget * | createEditor (QtProperty *property, QWidget *parent) |
Additional Inherited Members | |
Public Slots inherited from QtAbstractPropertyBrowser | |
QtBrowserItem * | addProperty (QtProperty *property) |
QtBrowserItem * | insertProperty (QtProperty *property, QtProperty *afterProperty) |
void | removeProperty (QtProperty *property) |
Signals inherited from QtAbstractPropertyBrowser | |
void | currentItemChanged (QtBrowserItem *) |
The QtGroupBoxPropertyBrowser class provides a QGroupBox based property browser.
A property browser is a widget that enables the user to edit a given set of properties. Each property is represented by a label specifying the property's name, and an editing widget (e.g. a line edit or a combobox) holding its value. A property can have zero or more subproperties.
QtGroupBoxPropertyBrowser provides group boxes for all nested properties, i.e. subproperties are enclosed by a group box with the parent property's name as its title. For example:
Use the QtAbstractPropertyBrowser API to add, insert and remove properties from an instance of the QtGroupBoxPropertyBrowser class. The properties themselves are created and managed by implementations of the QtAbstractPropertyManager class.
Definition at line 50 of file qtgroupboxpropertybrowser.h.
QtGroupBoxPropertyBrowser | ( | QWidget * | parent = 0 | ) |
Creates a property browser with the given parent.
Definition at line 627 of file qtgroupboxpropertybrowser.cpp.
|
override |
Destroys this property browser.
Note that the properties that were inserted into this browser are not destroyed since they may still be used in other browsers. The properties are owned by the manager that created them.
Definition at line 646 of file qtgroupboxpropertybrowser.cpp.
|
overrideprotectedvirtual |
\reimp
Implements QtAbstractPropertyBrowser.
Definition at line 677 of file qtgroupboxpropertybrowser.cpp.
|
overrideprotectedvirtual |
\reimp
Implements QtAbstractPropertyBrowser.
Definition at line 661 of file qtgroupboxpropertybrowser.cpp.
|
overrideprotectedvirtual |
\reimp
Implements QtAbstractPropertyBrowser.
Definition at line 669 of file qtgroupboxpropertybrowser.cpp.