From 53fa609d585216173c834cd1f22678a087394cde Mon Sep 17 00:00:00 2001 From: mickeyl Date: Thu, 15 Jan 2004 15:50:38 +0000 Subject: - add oapplicationfactory to opiecore - add big screen examples --- (limited to 'libopie2/examples/opieui/owidgetstack_example/owidgetstack_example.h') 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 +#include + +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 -- cgit v0.9.0.2