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