summaryrefslogtreecommitdiffstats
path: root/examples/regexptester/regexptester.h
blob: 0fabbb69fd64d0cc13d5795b9b3f1218864a8028 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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