qse  0.5.4
Public Member Functions | Protected Slots | Protected Attributes | List of all members
QseParameterEditor Class Referenceabstract

#include <qseparametereditor.h>

Inheritance diagram for QseParameterEditor:
Inheritance graph

Public Member Functions

 QseParameterEditor (QseOperatorEditor *ed, QseParameter *param, QObject *parent=0)
 
void setEditors (QPushButton *apply, QPushButton *cancel)
 
virtual bool editorValidate ()=0
 
virtual void editorApply ()=0
 
virtual void editorCancel ()=0
 

Protected Slots

void editorChanged ()
 

Protected Attributes

QseOperatorEditorm_OperatorEditor
 
QseParameterm_Parameter
 
QPushButton * m_ApplyButton
 
QPushButton * m_CancelButton
 

Detailed Description

Definition at line 10 of file qseparametereditor.h.

Constructor & Destructor Documentation

QseParameterEditor::QseParameterEditor ( QseOperatorEditor ed,
QseParameter param,
QObject *  parent = 0 
)

Definition at line 7 of file qseparametereditor.cpp.

References QseOperatorEditor::addEditor().

8  : QObject(parent),
10  m_Parameter(param),
11  m_ApplyButton(NULL),
12  m_CancelButton(NULL)
13 {
14  ed->addEditor(this);
15 }
QPushButton * m_ApplyButton
QseParameter * m_Parameter
QPushButton * m_CancelButton
QseOperatorEditor * m_OperatorEditor
void addEditor(QseParameterEditor *editor)

Member Function Documentation

virtual void QseParameterEditor::editorApply ( )
pure virtual
virtual void QseParameterEditor::editorCancel ( )
pure virtual
void QseParameterEditor::editorChanged ( )
protectedslot

Definition at line 24 of file qseparametereditor.cpp.

References m_ApplyButton, and m_CancelButton.

25 {
26  m_ApplyButton -> setEnabled(true);
27  m_CancelButton -> setEnabled(true);
28 }
QPushButton * m_ApplyButton
QPushButton * m_CancelButton
virtual bool QseParameterEditor::editorValidate ( )
pure virtual
void QseParameterEditor::setEditors ( QPushButton *  apply,
QPushButton *  cancel 
)

Member Data Documentation

QPushButton* QseParameterEditor::m_ApplyButton
protected

Definition at line 31 of file qseparametereditor.h.

Referenced by editorChanged().

QPushButton* QseParameterEditor::m_CancelButton
protected

Definition at line 32 of file qseparametereditor.h.

Referenced by editorChanged().

QseOperatorEditor* QseParameterEditor::m_OperatorEditor
protected

Definition at line 29 of file qseparametereditor.h.

QseParameter* QseParameterEditor::m_Parameter
protected

The documentation for this class was generated from the following files: