From eaf6da2bd05eac392c118c11fd5be1bab8586b6a Mon Sep 17 00:00:00 2001 From: zecke Date: Fri, 05 Sep 2003 21:09:43 +0000 Subject: OWidgetStack and Example showing it and QSignalMapper Added. The only problem with BigScreen Mode is window sizing and placing but this is a task of the WM we do not have... --- (limited to 'libopie/big-screen/example/owidgetstack_example.h') diff --git a/libopie/big-screen/example/owidgetstack_example.h b/libopie/big-screen/example/owidgetstack_example.h new file mode 100644 index 0000000..7977b48 --- a/dev/null +++ b/libopie/big-screen/example/owidgetstack_example.h @@ -0,0 +1,27 @@ +/* + * You may use, modify and distribute this example without any limitation + */ + +#ifndef O_STACK_EXAMPLE_SIMPLE_H +#define O_STACK_EXAMPLE_SIMPLE_H + +#include + + +class OWidgetStack; +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