summaryrefslogtreecommitdiffstats
path: root/examples/regexptester/regexptester.h
blob: faff773bf09c7e8a894b2c58018c729a47b10019 (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 TQCheckBox;
class TQComboBox;
class TQLabel;
class TQPushButton;
class TQStatusBar;
class TQTable;

class RegexpTester : public TQDialog
{
    Q_OBJECT

public:
    RegexpTester(TQWidget* parent=0, const char* name=0, bool modal=false,
		 WFlags f=0);

    TQLabel *regexLabel;
    TQComboBox *regexComboBox;
    TQLabel *textLabel;
    TQComboBox *textComboBox;
    TQCheckBox *caseSensitiveCheckBox;
    TQCheckBox *minimalCheckBox;
    TQCheckBox *wildcardCheckBox;
    TQTable *resultTable;
    TQPushButton *executePushButton;
    TQPushButton *copyPushButton;
    TQPushButton *tquitPushButton;
    TQStatusBar *statusBar;

public slots:
    void copy();
    void execute();

private:
    void languageChange();
};

#endif // REGEXPTESTER_H