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

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

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

Public Member Functions

 PropDeleteWidget (const NamedProperty &prop, QWidget *parent)
 
virtual PropEditorWidgetclone (const std::string &, QWidget *)
 
- 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 *)
 
virtual void reset_ (const NamedProperty &)
 
- Protected Member Functions inherited from BALL::VIEW::PropEditorWidget
void setupUi_ ()
 
bool addWidget_ (int i, QWidget *w)
 

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

A simple Widget for arbitrary properties that just allows deleting them.

Definition at line 223 of file propertyEditor.h.

Constructor & Destructor Documentation

BALL::VIEW::PropDeleteWidget::PropDeleteWidget ( const NamedProperty prop,
QWidget parent 
)
inline

Definition at line 226 of file propertyEditor.h.

Member Function Documentation

virtual void BALL::VIEW::PropDeleteWidget::apply_ ( PropertyManager man)
inlineprotectedvirtual

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

Implements BALL::VIEW::PropEditorWidget.

Definition at line 237 of file propertyEditor.h.

virtual PropEditorWidget* BALL::VIEW::PropDeleteWidget::clone ( const std::string &  name,
QWidget parent 
)
inlinevirtual

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.

Definition at line 232 of file propertyEditor.h.

virtual void BALL::VIEW::PropDeleteWidget::reset_ ( const NamedProperty prop)
inlineprotectedvirtual

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

Implements BALL::VIEW::PropEditorWidget.

Definition at line 238 of file propertyEditor.h.