author | mickeyl <mickeyl> | 2004-01-15 15:50:38 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2004-01-15 15:50:38 (UTC) |
commit | 53fa609d585216173c834cd1f22678a087394cde (patch) (side-by-side diff) | |
tree | 750759ec9a94326fc68e3ae573350c47b7aa52fe /libopie2/examples/opieui/owidgetstack_example/owidgetstack_example.h | |
parent | 84bb8c9046007fe2adfaa016aded88b961c65e62 (diff) | |
download | opie-53fa609d585216173c834cd1f22678a087394cde.zip opie-53fa609d585216173c834cd1f22678a087394cde.tar.gz opie-53fa609d585216173c834cd1f22678a087394cde.tar.bz2 |
- add oapplicationfactory to opiecore
- add big screen examples
Diffstat (limited to 'libopie2/examples/opieui/owidgetstack_example/owidgetstack_example.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie2/examples/opieui/owidgetstack_example/owidgetstack_example.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/libopie2/examples/opieui/owidgetstack_example/owidgetstack_example.h b/libopie2/examples/opieui/owidgetstack_example/owidgetstack_example.h new file mode 100644 index 0000000..aea85cb --- a/dev/null +++ b/libopie2/examples/opieui/owidgetstack_example/owidgetstack_example.h @@ -0,0 +1,28 @@ +/* + * You may use, modify and distribute this example without any limitation + */ + +#ifndef O_STACK_EXAMPLE_SIMPLE_H +#define O_STACK_EXAMPLE_SIMPLE_H + +#include <qmainwindow.h> +#include <opie2/owidgetstack.h> + +using namespace Opie; + +class StackExample : public QMainWindow { + Q_OBJECT +public: + StackExample( QWidget* paren, const char* name, WFlags fl ); + ~StackExample(); + static QString appName() { return QString::fromLatin1("owidgetstack-example"); } + +protected: + void closeEvent( QCloseEvent* e ); +private: + OWidgetStack* m_stack; + QWidget* m_main; + +}; + +#endif |