vizkit3d
Public Member Functions | Protected Slots | List of all members
vizkit3d::QPropertyBrowserWidget Class Reference

#include <QPropertyBrowserWidget.hpp>

Inheritance diagram for vizkit3d::QPropertyBrowserWidget:
QtTreePropertyBrowser QtAbstractPropertyBrowser

Public Member Functions

 QPropertyBrowserWidget (QWidget *parent=0)
 
void addProperties (QObject *obj, QObject *parent=NULL)
 
void removeProperties (QObject *obj)
 
void addGlobalProperties (QObject *obj, const QStringList &property_list)
 
- Public Member Functions inherited from QtTreePropertyBrowser
 QtTreePropertyBrowser (QWidget *parent=0)
 
 ~QtTreePropertyBrowser ()
 
int indentation () const
 
void setIndentation (int i)
 
bool rootIsDecorated () const
 
void setRootIsDecorated (bool show)
 
bool alternatingRowColors () const
 
void setAlternatingRowColors (bool enable)
 
bool isHeaderVisible () const
 
void setHeaderVisible (bool visible)
 
ResizeMode resizeMode () const
 
void setResizeMode (ResizeMode mode)
 
int splitterPosition () const
 
void setSplitterPosition (int position)
 
void setExpanded (QtBrowserItem *item, bool expanded)
 
bool isExpanded (QtBrowserItem *item) const
 
bool isItemVisible (QtBrowserItem *item) const
 
void setItemVisible (QtBrowserItem *item, bool visible)
 
void setBackgroundColor (QtBrowserItem *item, const QColor &color)
 
QColor backgroundColor (QtBrowserItem *item) const
 
QColor calculatedBackgroundColor (QtBrowserItem *item) const
 
void setPropertiesWithoutValueMarked (bool mark)
 
bool propertiesWithoutValueMarked () const
 
void editItem (QtBrowserItem *item)
 
- Public Member Functions inherited from QtAbstractPropertyBrowser
 QtAbstractPropertyBrowser (QWidget *parent=0)
 
 ~QtAbstractPropertyBrowser ()
 
QList< QtProperty * > properties () const
 
QList< QtBrowserItem * > items (QtProperty *property) const
 
QtBrowserItemtopLevelItem (QtProperty *property) const
 
QList< QtBrowserItem * > topLevelItems () const
 
void clear ()
 
template<class PropertyManager >
void setFactoryForManager (PropertyManager *manager, QtAbstractEditorFactory< PropertyManager > *factory)
 
void unsetFactoryForManager (QtAbstractPropertyManager *manager)
 
QtBrowserItemcurrentItem () const
 
void setCurrentItem (QtBrowserItem *)
 

Protected Slots

void propertyChangedInGUI (QtProperty *property, const QVariant &val)
 
void propertyChangedInObject (QString property_name)
 
void propertyChangedInObject ()
 
void propObjDestroyed (QObject *)
 

Additional Inherited Members

- Public Types inherited from QtTreePropertyBrowser
enum  ResizeMode { Interactive, Stretch, Fixed, ResizeToContents }
 
- Public Slots inherited from QtAbstractPropertyBrowser
QtBrowserItemaddProperty (QtProperty *property)
 
QtBrowserIteminsertProperty (QtProperty *property, QtProperty *afterProperty)
 
void removeProperty (QtProperty *property)
 
- Signals inherited from QtTreePropertyBrowser
void collapsed (QtBrowserItem *item)
 
void expanded (QtBrowserItem *item)
 
- Signals inherited from QtAbstractPropertyBrowser
void currentItemChanged (QtBrowserItem *)
 
- Protected Member Functions inherited from QtTreePropertyBrowser
virtual void itemInserted (QtBrowserItem *item, QtBrowserItem *afterItem)
 
virtual void itemRemoved (QtBrowserItem *item)
 
virtual void itemChanged (QtBrowserItem *item)
 
- Protected Member Functions inherited from QtAbstractPropertyBrowser
virtual QWidget * createEditor (QtProperty *property, QWidget *parent)
 
- Properties inherited from QtTreePropertyBrowser
int indentation
 indentation of the items in the tree view. More...
 
bool rootIsDecorated
 whether to show controls for expanding and collapsing root items. More...
 
bool alternatingRowColors
 whether to draw the background using alternating colors. By default this property is set to true. More...
 
bool headerVisible
 whether to show the header. More...
 
ResizeMode resizeMode
 the resize mode of setions in the header. More...
 
int splitterPosition
 the position of the splitter between the colunms. More...
 
bool propertiesWithoutValueMarked
 whether to enable or disable marking properties without value. More...
 

Constructor & Destructor Documentation

◆ QPropertyBrowserWidget()

vizkit3d::QPropertyBrowserWidget::QPropertyBrowserWidget ( QWidget *  parent = 0)

Member Function Documentation

◆ addGlobalProperties()

void vizkit3d::QPropertyBrowserWidget::addGlobalProperties ( QObject *  obj,
const QStringList &  property_list 
)

Adds all properties of a QObject to the property browser widget as ungrouped global properties.

◆ addProperties()

void vizkit3d::QPropertyBrowserWidget::addProperties ( QObject *  obj,
QObject *  parent = NULL 
)

Adds all properties of a QObject to the property browser widget, grouped by the name of the vizkit3d plugin.

◆ propertyChangedInGUI

void vizkit3d::QPropertyBrowserWidget::propertyChangedInGUI ( QtProperty property,
const QVariant &  val 
)
protectedslot

Slot, to handle updates from the GUI

◆ propertyChangedInObject [1/2]

void vizkit3d::QPropertyBrowserWidget::propertyChangedInObject ( QString  property_name)
protectedslot

Slot, to handle updates from the QObjects

◆ propertyChangedInObject [2/2]

void vizkit3d::QPropertyBrowserWidget::propertyChangedInObject ( )
protectedslot

Slot, to handle updates from the QObjects Here the method has no information which property has changed, so it'll update all of them.

◆ propObjDestroyed

void vizkit3d::QPropertyBrowserWidget::propObjDestroyed ( QObject *  delObj)
protectedslot

◆ removeProperties()

void vizkit3d::QPropertyBrowserWidget::removeProperties ( QObject *  obj)

Removes all properies of a QObject from the property browser widget.


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