|
Last change
on this file since 176 was 162, checked in by dmik, 19 years ago |
|
Imported the regexptester example from the official release 3.3.1 from Trolltech.
|
-
Property svn:executable
set to
*
-
Property svn:keywords
set to
Id
|
|
File size:
843 bytes
|
| Line | |
|---|
| 1 | #ifndef REGEXPTESTER_H
|
|---|
| 2 | #define REGEXPTESTER_H
|
|---|
| 3 |
|
|---|
| 4 | #include <qdialog.h>
|
|---|
| 5 |
|
|---|
| 6 | class QCheckBox;
|
|---|
| 7 | class QComboBox;
|
|---|
| 8 | class QLabel;
|
|---|
| 9 | class QPushButton;
|
|---|
| 10 | class QStatusBar;
|
|---|
| 11 | class QTable;
|
|---|
| 12 |
|
|---|
| 13 | class RegexpTester : public QDialog
|
|---|
| 14 | {
|
|---|
| 15 | Q_OBJECT
|
|---|
| 16 |
|
|---|
| 17 | public:
|
|---|
| 18 | RegexpTester(QWidget* parent=0, const char* name=0, bool modal=false,
|
|---|
| 19 | WFlags f=0);
|
|---|
| 20 |
|
|---|
| 21 | QLabel *regexLabel;
|
|---|
| 22 | QComboBox *regexComboBox;
|
|---|
| 23 | QLabel *textLabel;
|
|---|
| 24 | QComboBox *textComboBox;
|
|---|
| 25 | QCheckBox *caseSensitiveCheckBox;
|
|---|
| 26 | QCheckBox *minimalCheckBox;
|
|---|
| 27 | QCheckBox *wildcardCheckBox;
|
|---|
| 28 | QTable *resultTable;
|
|---|
| 29 | QPushButton *executePushButton;
|
|---|
| 30 | QPushButton *copyPushButton;
|
|---|
| 31 | QPushButton *quitPushButton;
|
|---|
| 32 | QStatusBar *statusBar;
|
|---|
| 33 |
|
|---|
| 34 | public slots:
|
|---|
| 35 | void copy();
|
|---|
| 36 | void execute();
|
|---|
| 37 |
|
|---|
| 38 | private:
|
|---|
| 39 | void languageChange();
|
|---|
| 40 | };
|
|---|
| 41 |
|
|---|
| 42 | #endif // REGEXPTESTER_H
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.