author | thufir <thufir> | 2002-07-04 16:58:16 (UTC) |
---|---|---|
committer | thufir <thufir> | 2002-07-04 16:58:16 (UTC) |
commit | d2b982a38091cbc7cd4eba0994ab6c5e3c7f7189 (patch) (unidiff) | |
tree | d1e0a5fa80a12717b46257936ee3f8bb1b3ef89e /noncore/apps/opie-sheet/numberdlg.h | |
parent | a53847b7d27938551bb4f1c8891e7bacc93143ee (diff) | |
download | opie-d2b982a38091cbc7cd4eba0994ab6c5e3c7f7189.zip opie-d2b982a38091cbc7cd4eba0994ab6c5e3c7f7189.tar.gz opie-d2b982a38091cbc7cd4eba0994ab6c5e3c7f7189.tar.bz2 |
added opie-sheet
Diffstat (limited to 'noncore/apps/opie-sheet/numberdlg.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-sheet/numberdlg.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/noncore/apps/opie-sheet/numberdlg.h b/noncore/apps/opie-sheet/numberdlg.h new file mode 100644 index 0000000..46af1d0 --- a/dev/null +++ b/noncore/apps/opie-sheet/numberdlg.h | |||
@@ -0,0 +1,24 @@ | |||
1 | #ifndef NUMBERDLG_H | ||
2 | #define NUMBERDLG_H | ||
3 | |||
4 | #include <qdialog.h> | ||
5 | #include <qlabel.h> | ||
6 | #include <qspinbox.h> | ||
7 | |||
8 | class NumberDialog: public QDialog | ||
9 | { | ||
10 | Q_OBJECT | ||
11 | |||
12 | // QT objects | ||
13 | QLabel *label; | ||
14 | QSpinBox *edit; | ||
15 | |||
16 | public: | ||
17 | NumberDialog(QWidget *parent=0); | ||
18 | ~NumberDialog(); | ||
19 | |||
20 | int exec(const QString &caption, const QString &text, int value=1, int min=1, int max=99, int step=1); | ||
21 | int getValue(); | ||
22 | }; | ||
23 | |||
24 | #endif | ||