Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

opieuidemo.h

Go to the documentation of this file.
00001 /**********************************************************************
00002 ** Copyright (C) 2002 Michael 'Mickey' Lauer.  All rights reserved.
00003 **
00004 ** This file is part of Opie Environment.
00005 **
00006 ** This file may be distributed and/or modified under the terms of the
00007 ** GNU General Public License version 2 as published by the Free Software
00008 ** Foundation and appearing in the file LICENSE.GPL included in the
00009 ** packaging of this file.
00010 **
00011 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
00012 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
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

Generated on Sat Nov 5 16:15:59 2005 for OPIE by  doxygen 1.4.2