#include <BALL/VIEW/WIDGETS/propertyEditor.h>
Public Member Functions | |
FloatEditorWidget (const NamedProperty &prop, QWidget *parent) | |
virtual FloatEditorWidget * | clone (const std::string &name, QWidget *parent) |
Protected Member Functions | |
virtual void | apply_ (PropertyManager *man) |
virtual void | reset_ (const NamedProperty &prop) |
Private Attributes | |
QLineEdit * | edit_ |
Definition at line 172 of file propertyEditor.h.
BALL::VIEW::FloatEditorWidget::FloatEditorWidget | ( | const NamedProperty & | prop, | |
QWidget * | parent | |||
) |
virtual void BALL::VIEW::FloatEditorWidget::apply_ | ( | PropertyManager * | man | ) | [protected, virtual] |
This function must be reimplemented by subclasses. It writes the value of the widget to man
Implements BALL::VIEW::PropEditorWidget.
virtual FloatEditorWidget* BALL::VIEW::FloatEditorWidget::clone | ( | const std::string & | name, | |
QWidget * | parent | |||
) | [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.
virtual void BALL::VIEW::FloatEditorWidget::reset_ | ( | const NamedProperty & | prop | ) | [protected, virtual] |
This function must be reimplemented by subclasses. It rereads the widgets values from prop
Implements BALL::VIEW::PropEditorWidget.
QLineEdit* BALL::VIEW::FloatEditorWidget::edit_ [private] |
Definition at line 185 of file propertyEditor.h.