summaryrefslogtreecommitdiffstats
path: root/examples/regexptester/regexptester.h
blob: 0dbb50d059264b58232677f45995eb63d821513b (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 <tqdialog.h>

class TQCheckBox;
class TQComboBox;
class TQLabel;
class TQPushButton;
class TQStatusBar;
class TQTable;

class RegexpTester : public TQDialog
{
    TQ_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 *quitPushButton;
    TQStatusBar *statusBar;

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

private:
    void languageChange();
};

#endif // REGEXPTESTER_H