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

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

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

Classes

class  EditorPDBInfoDialog
 

Public Member Functions

 PDBInfoEditorWidget (const PDBInfo &info, QWidget *parent)
 
virtual PDBInfoEditorWidgetclone (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 Slots

void startEditorDialog ()
 

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

PDBInfo localCopy_
 
EditorPDBInfoDialogeditorDialog_
 

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

Constructor & Destructor Documentation

BALL::VIEW::PDBInfoEditorWidget::PDBInfoEditorWidget ( const PDBInfo info,
QWidget parent 
)

Member Function Documentation

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

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

Implements BALL::VIEW::PropEditorWidget.

void BALL::VIEW::PDBInfoEditorWidget::startEditorDialog ( )
protectedslot

Member Data Documentation

EditorPDBInfoDialog* BALL::VIEW::PDBInfoEditorWidget::editorDialog_
private

Definition at line 272 of file propertyEditor.h.

PDBInfo BALL::VIEW::PDBInfoEditorWidget::localCopy_
private

Definition at line 271 of file propertyEditor.h.