qse  0.5.4
qseparametereditor.h
Go to the documentation of this file.
1 #ifndef QSEPARAMETEREDITOR_H
2 #define QSEPARAMETEREDITOR_H
3 
4 #include <QObject>
5 
6 class QseParameter;
8 class QPushButton;
9 
10 class QseParameterEditor : public QObject
11 {
12  Q_OBJECT;
13 
14  public:
16  (QseOperatorEditor* ed, QseParameter* param, QObject* parent=0);
17 
18  void setEditors(QPushButton* apply,
19  QPushButton* cancel);
20 
21  virtual bool editorValidate() = 0;
22  virtual void editorApply() = 0;
23  virtual void editorCancel() = 0;
24 
25  protected slots:
26  void editorChanged();
27 
28  protected:
31  QPushButton* m_ApplyButton;
32  QPushButton* m_CancelButton;
33 };
34 
35 #endif
QPushButton * m_ApplyButton
virtual void editorApply()=0
QseParameter * m_Parameter
virtual bool editorValidate()=0
QPushButton * m_CancelButton
void setEditors(QPushButton *apply, QPushButton *cancel)
QseOperatorEditor * m_OperatorEditor
virtual void editorCancel()=0
QseParameterEditor(QseOperatorEditor *ed, QseParameter *param, QObject *parent=0)