BALL  1.4.2
 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::StringEditorWidget Class Reference

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

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

Public Member Functions

 StringEditorWidget (const NamedProperty &prop, QWidget *parent)
 
virtual StringEditorWidgetclone (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 204 of file propertyEditor.h.

Constructor & Destructor Documentation

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

Member Function Documentation

virtual void BALL::VIEW::StringEditorWidget::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 StringEditorWidget* BALL::VIEW::StringEditorWidget::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::StringEditorWidget::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::StringEditorWidget::edit_
private

Definition at line 217 of file propertyEditor.h.