#include <BALL/VIEW/WIDGETS/propertyEditor.h>
Public Member Functions | |
PropDeleteWidget (const NamedProperty &prop, QWidget *parent) | |
virtual PropEditorWidget * | clone (const std::string &, QWidget *) |
Protected Member Functions | |
virtual void | apply_ (PropertyManager *) |
virtual void | reset_ (const NamedProperty &) |
A simple Widget for arbitrary properties that just allows deleting them.
Definition at line 223 of file propertyEditor.h.
BALL::VIEW::PropDeleteWidget::PropDeleteWidget | ( | const NamedProperty & | prop, | |
QWidget * | parent | |||
) | [inline] |
Definition at line 226 of file propertyEditor.h.
virtual void BALL::VIEW::PropDeleteWidget::apply_ | ( | PropertyManager * | man | ) | [inline, protected, virtual] |
This function must be reimplemented by subclasses. It writes the value of the widget to man
Implements BALL::VIEW::PropEditorWidget.
Definition at line 237 of file propertyEditor.h.
virtual PropEditorWidget* BALL::VIEW::PropDeleteWidget::clone | ( | const std::string & | name, | |
QWidget * | parent | |||
) | [inline, virtual] |
Create a copy of the widget with a different name, but with the same property type. This method must be reimplemented by subclasses
Implements BALL::VIEW::PropEditorWidget.
Definition at line 232 of file propertyEditor.h.
virtual void BALL::VIEW::PropDeleteWidget::reset_ | ( | const NamedProperty & | prop | ) | [inline, protected, virtual] |
This function must be reimplemented by subclasses. It rereads the widgets values from prop
Implements BALL::VIEW::PropEditorWidget.
Definition at line 238 of file propertyEditor.h.