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::DoubleEditorWidget Class Reference

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

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

Public Member Functions

 DoubleEditorWidget (const NamedProperty &prop, QWidget *parent)
virtual DoubleEditorWidgetclone (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

QLineEditedit_

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 188 of file propertyEditor.h.

Constructor & Destructor Documentation

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

Member Function Documentation

virtual void BALL::VIEW::DoubleEditorWidget::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 DoubleEditorWidget* BALL::VIEW::DoubleEditorWidget::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::DoubleEditorWidget::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

QLineEdit* BALL::VIEW::DoubleEditorWidget::edit_
private

Definition at line 201 of file propertyEditor.h.