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