00001 #ifndef QSEINTPARAMETEREDITOR_H 00002 #define QSEINTPARAMETEREDITOR_H 00003 00004 #include "qseparametereditor.h" 00005 00006 class QseIntParameter; 00007 class QLineEdit; 00008 class QPushButton; 00009 00010 class QseIntParameterEditor : public QseParameterEditor 00011 { 00012 Q_OBJECT; 00013 00014 public: 00015 QseIntParameterEditor 00016 (QseOperatorEditor* ed, QseIntParameter* param, QObject* parent=0); 00017 00018 void setEditors(QLineEdit* value, 00019 QPushButton* apply, 00020 QPushButton* cancel); 00021 00022 virtual bool editorValidate(); 00023 virtual void editorApply(); 00024 virtual void editorCancel(); 00025 00026 protected: 00027 QseIntParameter* m_IntParameter; 00028 QLineEdit* m_LineEdit; 00029 }; 00030 00031 #endif
1.5.6