00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #ifndef OPIEUIDEMO_H
00017 #define OPIEUIDEMO_H
00018
00019 #include <qmainwindow.h>
00020
00021 namespace Opie {
00022 namespace Ui {
00023 class OVersatileView;
00024 }
00025 }
00026 class QTabWidget;
00027 class QVBox;
00028
00029 class OpieUIDemo : public QMainWindow {
00030 Q_OBJECT
00031
00032 public:
00033
00034 OpieUIDemo( QWidget* parent = 0, const char* name = 0, WFlags fl = WType_TopLevel );
00035 ~OpieUIDemo();
00036
00037 void demoOCompletionBox();
00038 void demoOLineEdit();
00039 void demoOComboBox();
00040 void demoOEditListBox();
00041 void demoOSelector();
00042
00043 public slots:
00044 void demo( int );
00045 void messageBox( const QString& text );
00046
00047 protected:
00048 void build();
00049 void buildVV( QVBox* b );
00050
00051 private:
00052 QTabWidget* main;
00053
00054 Opie::Ui::OVersatileView* vv;
00055
00056 };
00057
00058
00059
00060 #endif