Logo Search packages:      
Sourcecode: qsapecng version File versions  Download package

Public Slots | Signals | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes

QtGroupBoxPropertyBrowser Class Reference

The QtGroupBoxPropertyBrowser class provides a QGroupBox based property browser. More...

Inheritance diagram for QtGroupBoxPropertyBrowser:
Inheritance graph
Collaboration diagram for QtGroupBoxPropertyBrowser:
Collaboration graph

List of all members.

Public Slots

QtBrowserItemaddProperty (QtProperty *property)
QtBrowserIteminsertProperty (QtProperty *property, QtProperty *afterProperty)
void removeProperty (QtProperty *property)


void currentItemChanged (QtBrowserItem *)

Public Member Functions

void clear ()
QtBrowserItemcurrentItem () const
QList< QtBrowserItem * > items (QtProperty *property) const
QList< QtProperty * > properties () const
 QtGroupBoxPropertyBrowser (QWidget *parent=0)
void setCurrentItem (QtBrowserItem *)
template<class PropertyManager >
void setFactoryForManager (PropertyManager *manager, QtAbstractEditorFactory< PropertyManager > *factory)
QtBrowserItemtopLevelItem (QtProperty *property) const
QList< QtBrowserItem * > topLevelItems () const
void unsetFactoryForManager (QtAbstractPropertyManager *manager)
 ~QtGroupBoxPropertyBrowser ()

Protected Member Functions

virtual QWidget * createEditor (QtProperty *property, QWidget *parent)
virtual void itemChanged (QtBrowserItem *item)
virtual void itemInserted (QtBrowserItem *item, QtBrowserItem *afterItem)
virtual void itemRemoved (QtBrowserItem *item)

Private Member Functions

 Q_PRIVATE_SLOT (d_func(), void slotUpdate()) Q_PRIVATE_SLOT(d_func()

Private Attributes


Detailed Description

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.

See also:
QtTreePropertyBrowser, QtAbstractPropertyBrowser

Definition at line 99 of file qtgroupboxpropertybrowser.h.

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

Generated by  Doxygen 1.6.0   Back to index