summaryrefslogtreecommitdiff
path: root/libopie2/examples/opieui/oversatileviewdemo/opieuidemo.h
Unidiff
Diffstat (limited to 'libopie2/examples/opieui/oversatileviewdemo/opieuidemo.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/examples/opieui/oversatileviewdemo/opieuidemo.h56
1 files changed, 56 insertions, 0 deletions
diff --git a/libopie2/examples/opieui/oversatileviewdemo/opieuidemo.h b/libopie2/examples/opieui/oversatileviewdemo/opieuidemo.h
new file mode 100644
index 0000000..0519ae6
--- a/dev/null
+++ b/libopie2/examples/opieui/oversatileviewdemo/opieuidemo.h
@@ -0,0 +1,56 @@
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
21class OVersatileView;
22class QTabWidget;
23class QVBox;
24
25class OpieUIDemo : public QMainWindow {
26 Q_OBJECT
27
28public:
29
30 OpieUIDemo( QWidget* parent = 0, const char* name = 0, WFlags fl = WType_TopLevel );
31 ~OpieUIDemo();
32
33 void demoOCompletionBox();
34 void demoOLineEdit();
35 void demoOComboBox();
36 void demoOEditListBox();
37 void demoOSelector();
38
39public slots:
40 void demo( int );
41 void messageBox( const QString& text );
42
43protected:
44 void build();
45 void buildVV( QVBox* b );
46
47private:
48 QTabWidget* main;
49
50 OVersatileView* vv;
51
52};
53
54
55
56#endif