Computer Assisted Medical Intervention Tool Kit  version 5.2
QtGroupBoxPropertyBrowser Class Reference

The description of this class will come soon ! More...

#include <qtgroupboxpropertybrowser.h>

+ Inheritance diagram for QtGroupBoxPropertyBrowser:
+ Collaboration diagram for QtGroupBoxPropertyBrowser:

Public Member Functions

 QtGroupBoxPropertyBrowser (QWidget *parent=nullptr)
 
 ~QtGroupBoxPropertyBrowser () override
 
- Public Member Functions inherited from QtAbstractPropertyBrowser
void clear ()
 
QtBrowserItemcurrentItem () const
 
QList< QtBrowserItem * > items (QtProperty *property) const
 
QList< QtProperty * > properties () const
 
 QtAbstractPropertyBrowser (QWidget *parent=nullptr)
 
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)
 
 ~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
QtBrowserItemaddProperty (QtProperty *property)
 
QtBrowserIteminsertProperty (QtProperty *property, QtProperty *afterProperty)
 
void removeProperty (QtProperty *property)
 
- Signals inherited from QtAbstractPropertyBrowser
void currentItemChanged (QtBrowserItem *)
 

Detailed Description

The description of this class will come soon !

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

Constructor & Destructor Documentation

◆ QtGroupBoxPropertyBrowser()

QtGroupBoxPropertyBrowser::QtGroupBoxPropertyBrowser ( QWidget *  parent = nullptr)

Creates a property browser with the given parent.

References QtGroupBoxPropertyBrowserPrivate::init().

+ Here is the call graph for this function:

◆ ~QtGroupBoxPropertyBrowser()

QtGroupBoxPropertyBrowser::~QtGroupBoxPropertyBrowser ( )
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.

See also
QtProperty, QtAbstractPropertyManager

Member Function Documentation

◆ itemChanged()

void QtGroupBoxPropertyBrowser::itemChanged ( QtBrowserItem item)
overrideprotectedvirtual

\reimp

Implements QtAbstractPropertyBrowser.

References QtGroupBoxPropertyBrowserPrivate::propertyChanged().

+ Here is the call graph for this function:

◆ itemInserted()

void QtGroupBoxPropertyBrowser::itemInserted ( QtBrowserItem item,
QtBrowserItem afterItem 
)
overrideprotectedvirtual

\reimp

Implements QtAbstractPropertyBrowser.

References QtGroupBoxPropertyBrowserPrivate::propertyInserted().

+ Here is the call graph for this function:

◆ itemRemoved()

void QtGroupBoxPropertyBrowser::itemRemoved ( QtBrowserItem item)
overrideprotectedvirtual

\reimp

Implements QtAbstractPropertyBrowser.

References QtGroupBoxPropertyBrowserPrivate::propertyRemoved().

+ Here is the call graph for this function:

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