#include <widgets/PropertyEditor.h>
|
class | Delegate |
| Provides display and editing facilities for property items in the editor. More...
|
|
|
| PropertyEditor (QWidget *parent=0) |
|
virtual | ~PropertyEditor () |
|
PropertyNode * | currentProperty () |
| Returns the current selected property node, or NULL if nothing is selected. More...
|
|
void | setHideSingleRootNode (bool hide=true) |
| If hiding of the single root node is enabled, a single top level node will not be shown explicitly. More...
|
|
bool | getHideSingleRootNode () const |
| Returns the set mode, whether a single root node should be hidden or not. More...
|
|
void | installFilterShortCut (QWidget *widget, const QString &shortcut="Ctrl+F") |
|
bool | getAutoHideFilterBar () const |
|
void | setColor (const PropertyNode *property, const QColor &color) |
| Sets the background color for the specified property. More...
|
|
QColor | getColor (const PropertyNode *property) const |
|
std::string | getText (const PropertyNode *property) const |
|
QIcon | getIcon (const PropertyNode *property) const |
|
QColor | getBackgroundColor (const PropertyNode *property) const |
|
QWidget * | createEditor (PropertyNode *property, QWidget *parent) |
|
std::string | getName (const PropertyNode *property) |
|
const PropertyNode * | getCurrentEditedProperty () const |
|
|
virtual void | beginAddChildren (const PropertyNode *node, int index, int count) |
|
virtual void | endAddChildren () |
|
virtual void | beginRemoveChildren (const PropertyNode *node, int index, int count) |
|
virtual void | endRemoveChildren () |
|
virtual void | beginMoveChildren (const PropertyNode *node, int index, int count, int destination) |
|
virtual void | endMoveChildren () |
|
◆ DelegatePtr
◆ PropertyEditor()
◆ ~PropertyEditor()
◆ currentProperty()
Returns the current selected property node, or NULL if nothing is selected.
◆ clear
Removes all property nodes that were set and therefore clears the whole editor content (without deleting the nodes).
◆ addProperty
void addProperty |
( |
PropertyNode * |
property, |
|
|
QVariant |
user = QVariant() |
|
) |
| |
|
slot |
Adds the specified property node as top level node to the editor.
◆ removeProperty
Remove the specified property node from the editor.
◆ moveUpProperty
Moves the property node up in the editor's property node list.
◆ moveDownProperty
Moves the property node down in the editor's property node list.
◆ getUser
◆ setHideSingleRootNode()
void setHideSingleRootNode |
( |
bool |
hide = true | ) |
|
If hiding of the single root node is enabled, a single top level node will not be shown explicitly.
Its children will be shown only.
◆ getHideSingleRootNode()
bool getHideSingleRootNode |
( |
| ) |
const |
Returns the set mode, whether a single root node should be hidden or not.
◆ installFilterShortCut()
void installFilterShortCut |
( |
QWidget * |
widget, |
|
|
const QString & |
shortcut = "Ctrl+F" |
|
) |
| |
◆ getAutoHideFilterBar()
bool getAutoHideFilterBar |
( |
| ) |
const |
◆ setAutoHideFilterBar
void setAutoHideFilterBar |
( |
bool |
hide = true | ) |
|
|
slot |
◆ showFilter
◆ hideFilter
◆ setColor()
void setColor |
( |
const PropertyNode * |
property, |
|
|
const QColor & |
color |
|
) |
| |
Sets the background color for the specified property.
◆ getColor()
◆ getText()
◆ getIcon()
◆ getBackgroundColor()
QColor getBackgroundColor |
( |
const PropertyNode * |
property | ) |
const |
◆ createEditor()
QWidget* createEditor |
( |
PropertyNode * |
property, |
|
|
QWidget * |
parent |
|
) |
| |
◆ getName()
◆ timerEvent()
void timerEvent |
( |
QTimerEvent * |
| ) |
|
|
protected |
◆ customEvent()
void customEvent |
( |
QEvent * |
| ) |
|
|
protected |
◆ getCurrentEditedProperty()
◆ beginAddChildren()
virtual void beginAddChildren |
( |
const PropertyNode * |
node, |
|
|
int |
index, |
|
|
int |
count |
|
) |
| |
|
virtual |
◆ endAddChildren()
virtual void endAddChildren |
( |
| ) |
|
|
virtual |
◆ beginRemoveChildren()
virtual void beginRemoveChildren |
( |
const PropertyNode * |
node, |
|
|
int |
index, |
|
|
int |
count |
|
) |
| |
|
virtual |
◆ endRemoveChildren()
virtual void endRemoveChildren |
( |
| ) |
|
|
virtual |
◆ beginMoveChildren()
virtual void beginMoveChildren |
( |
const PropertyNode * |
node, |
|
|
int |
index, |
|
|
int |
count, |
|
|
int |
destination |
|
) |
| |
|
virtual |
◆ endMoveChildren()
virtual void endMoveChildren |
( |
| ) |
|
|
virtual |
◆ Model
◆ TreeView
◆ ItemDelegate
friend class ItemDelegate |
|
friend |
◆ PropertyItemEditor
◆ lightBlue
◆ lightRed
◆ lightGreen
◆ lightYellow
◆ lightPurple
The documentation for this class was generated from the following file: