summaryrefslogtreecommitdiffstats
path: root/examples/regexptester/regexptester.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/regexptester/regexptester.h')
-rw-r--r--examples/regexptester/regexptester.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/examples/regexptester/regexptester.h b/examples/regexptester/regexptester.h
new file mode 100644
index 0000000..0fabbb6
--- /dev/null
+++ b/examples/regexptester/regexptester.h
@@ -0,0 +1,42 @@
+#ifndef REGEXPTESTER_H
+#define REGEXPTESTER_H
+
+#include <qdialog.h>
+
+class QCheckBox;
+class QComboBox;
+class QLabel;
+class QPushButton;
+class QStatusBar;
+class QTable;
+
+class RegexpTester : public QDialog
+{
+ Q_OBJECT
+
+public:
+ RegexpTester(QWidget* parent=0, const char* name=0, bool modal=false,
+ WFlags f=0);
+
+ QLabel *regexLabel;
+ QComboBox *regexComboBox;
+ QLabel *textLabel;
+ QComboBox *textComboBox;
+ QCheckBox *caseSensitiveCheckBox;
+ QCheckBox *minimalCheckBox;
+ QCheckBox *wildcardCheckBox;
+ QTable *resultTable;
+ QPushButton *executePushButton;
+ QPushButton *copyPushButton;
+ QPushButton *quitPushButton;
+ QStatusBar *statusBar;
+
+public slots:
+ void copy();
+ void execute();
+
+private:
+ void languageChange();
+};
+
+#endif // REGEXPTESTER_H