BALL  1.4.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
BALL::VIEW::UIntEditorWidget Class Reference

#include <BALL/VIEW/WIDGETS/propertyEditor.h>

Inheritance diagram for BALL::VIEW::UIntEditorWidget:
BALL::VIEW::PropEditorWidget QWidget

Public Member Functions

 UIntEditorWidget (const NamedProperty &prop, QWidget *parent)
virtual UIntEditorWidgetclone (const std::string &name, QWidget *parent)
- Public Member Functions inherited from BALL::VIEW::PropEditorWidget
 PropEditorWidget (const std::string &name, QWidget *parent)
virtual const QString & getName () const
void setEditable (bool mode)
bool isEditable () const
void apply (PropertyManager *man, bool create=false)
void reset (PropertyManager *man)

Protected Member Functions

virtual void apply_ (PropertyManager *man)
virtual void reset_ (const NamedProperty &prop)
- Protected Member Functions inherited from BALL::VIEW::PropEditorWidget
void setupUi_ ()
bool addWidget_ (int i, QWidget *w)

Private Attributes

QSpinBox * box_

Additional Inherited Members

- Signals inherited from BALL::VIEW::PropEditorWidget
void deleteProperty ()
void duplicateProperty ()
void valueChanged ()
- Protected Attributes inherited from BALL::VIEW::PropEditorWidget
QString name_
Ui::PropEditorWidget ui_

Detailed Description

Definition at line 156 of file propertyEditor.h.

Constructor & Destructor Documentation

BALL::VIEW::UIntEditorWidget::UIntEditorWidget ( const NamedProperty prop,
QWidget parent 
)

Member Function Documentation

virtual void BALL::VIEW::UIntEditorWidget::apply_ ( PropertyManager man)
protectedvirtual

This function must be reimplemented by subclasses. It writes the value of the widget to man

Implements BALL::VIEW::PropEditorWidget.

virtual UIntEditorWidget* BALL::VIEW::UIntEditorWidget::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::UIntEditorWidget::reset_ ( const NamedProperty prop)
protectedvirtual

This function must be reimplemented by subclasses. It rereads the widgets values from prop

Implements BALL::VIEW::PropEditorWidget.

Member Data Documentation

QSpinBox* BALL::VIEW::UIntEditorWidget::box_
private

Definition at line 169 of file propertyEditor.h.