Diffstat (limited to 'examples/opieui/oversatileviewdemo/opieuidemo.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | examples/opieui/oversatileviewdemo/opieuidemo.h | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/examples/opieui/oversatileviewdemo/opieuidemo.h b/examples/opieui/oversatileviewdemo/opieuidemo.h new file mode 100644 index 0000000..382885f --- a/dev/null +++ b/examples/opieui/oversatileviewdemo/opieuidemo.h | |||
@@ -0,0 +1,60 @@ | |||
1 | /********************************************************************** | ||
2 | ** Copyright (C) 2002 Michael 'Mickey' Lauer. All rights reserved. | ||
3 | ** | ||
4 | ** This file is part of Opie Environment. | ||
5 | ** | ||
6 | ** This file may be distributed and/or modified under the terms of the | ||
7 | ** GNU General Public License version 2 as published by the Free Software | ||
8 | ** Foundation and appearing in the file LICENSE.GPL included in the | ||
9 | ** packaging of this file. | ||
10 | ** | ||
11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE | ||
12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | ||
13 | ** | ||
14 | **********************************************************************/ | ||
15 | |||
16 | #ifndef OPIEUIDEMO_H | ||
17 | #define OPIEUIDEMO_H | ||
18 | |||
19 | #include <qmainwindow.h> | ||
20 | |||
21 | namespace Opie { | ||
22 | namespace Ui { | ||
23 | class OVersatileView; | ||
24 | } | ||
25 | } | ||
26 | class QTabWidget; | ||
27 | class QVBox; | ||
28 | |||
29 | class OpieUIDemo : public QMainWindow { | ||
30 | Q_OBJECT | ||
31 | |||
32 | public: | ||
33 | |||
34 | OpieUIDemo( QWidget* parent = 0, const char* name = 0, WFlags fl = WType_TopLevel ); | ||
35 | ~OpieUIDemo(); | ||
36 | |||
37 | void demoOCompletionBox(); | ||
38 | void demoOLineEdit(); | ||
39 | void demoOComboBox(); | ||
40 | void demoOEditListBox(); | ||
41 | void demoOSelector(); | ||
42 | |||
43 | public slots: | ||
44 | void demo( int ); | ||
45 | void messageBox( const QString& text ); | ||
46 | |||
47 | protected: | ||
48 | void build(); | ||
49 | void buildVV( QVBox* b ); | ||
50 | |||
51 | private: | ||
52 | QTabWidget* main; | ||
53 | |||
54 | Opie::Ui::OVersatileView* vv; | ||
55 | |||
56 | }; | ||
57 | |||
58 | |||
59 | |||
60 | #endif | ||