|
BALL
1.4.1
|
#include <BALL/VIEW/WIDGETS/propertyEditor.h>
A widget providing editor capabilities for arbitrary PropertyManager objects. The widget provides a read-only mode as well as controls to add, delete and duplicate properties. Currently only NamedProperties are supported.
Definition at line 281 of file propertyEditor.h.
| BALL::VIEW::PropertyEditor::PropertyEditor | ( | QWidget * | parent = 0, |
| bool | editable = true |
||
| ) | [explicit] |
Construct a PropertyEditor
| parent | the parent widget of this widget. |
| editable | should the properties be editable? |
| BALL::VIEW::PropertyEditor::PropertyEditor | ( | PropertyManager * | manager, |
| QWidget * | parent, | ||
| bool | editable = true |
||
| ) |
Construct a PropertyEditor
| manger | a pointer to the PropertyManager object which should be edited |
| parent | the parent widget of this widget. |
| editable | should the properties be editable? |
| PropEditorWidget* BALL::VIEW::PropertyEditor::addProperty_ | ( | const NamedProperty & | prop | ) | [protected] |
| PropEditorWidget* BALL::VIEW::PropertyEditor::addProperty_ | ( | PropEditorWidget * | editor | ) | [protected] |
| void BALL::VIEW::PropertyEditor::apply | ( | ) | [slot] |
Apply all available changes
| QString BALL::VIEW::PropertyEditor::chooseName_ | ( | const QString & | initial | ) | [protected] |
| PropEditorWidget* BALL::VIEW::PropertyEditor::createEditorWidget_ | ( | const NamedProperty & | prop | ) | [protected] |
| void BALL::VIEW::PropertyEditor::createNewBool_ | ( | ) | [protected, slot] |
| void BALL::VIEW::PropertyEditor::createNewDouble_ | ( | ) | [protected, slot] |
| void BALL::VIEW::PropertyEditor::createNewFloat_ | ( | ) | [protected, slot] |
| void BALL::VIEW::PropertyEditor::createNewInt_ | ( | ) | [protected, slot] |
| void BALL::VIEW::PropertyEditor::createNewString_ | ( | ) | [protected, slot] |
| void BALL::VIEW::PropertyEditor::createNewUInt_ | ( | ) | [protected, slot] |
| void BALL::VIEW::PropertyEditor::deleteProperty_ | ( | PropEditorWidget * | editor | ) | [protected] |
| bool BALL::VIEW::PropertyEditor::hasChanges | ( | ) | const |
Are there changes to the properties available
| bool BALL::VIEW::PropertyEditor::isEditable | ( | ) | const |
Are the displayed Properties user-editable
| void BALL::VIEW::PropertyEditor::reset | ( | ) | [slot] |
Reread all property values from the PropertyManager
| void BALL::VIEW::PropertyEditor::scheduleDelete_ | ( | ) | [protected, slot] |
| void BALL::VIEW::PropertyEditor::scheduleDuplicate_ | ( | ) | [protected, slot] |
| void BALL::VIEW::PropertyEditor::setEditable | ( | bool | mode | ) |
Control the editablity of the widget.
Set a different PropertyManager object to display/edit This function can also be used to explicitly update the view on the current PropertyManager.
| void BALL::VIEW::PropertyEditor::setupUi_ | ( | ) | [protected] |
| void BALL::VIEW::PropertyEditor::valueChanged | ( | ) | [signal] |
Emitted upon the first user made change to the editors
| void BALL::VIEW::PropertyEditor::valueChanged_ | ( | ) | [protected, slot] |
QList<PropEditorWidget*> BALL::VIEW::PropertyEditor::deleted_properties_ [private] |
Definition at line 368 of file propertyEditor.h.
bool BALL::VIEW::PropertyEditor::has_changes_ [private] |
Definition at line 364 of file propertyEditor.h.
bool BALL::VIEW::PropertyEditor::is_editable_ [private] |
Definition at line 365 of file propertyEditor.h.
Definition at line 366 of file propertyEditor.h.
QList<PropEditorWidget*> BALL::VIEW::PropertyEditor::new_properties_ [private] |
Definition at line 367 of file propertyEditor.h.
Ui::PropertyEditor BALL::VIEW::PropertyEditor::ui_ [private] |
Definition at line 370 of file propertyEditor.h.
1.7.6.1