summaryrefslogtreecommitdiff
path: root/libopie/big-screen/example/owidgetstack_example.h
authorzecke <zecke>2003-09-05 21:09:43 (UTC)
committer zecke <zecke>2003-09-05 21:09:43 (UTC)
commiteaf6da2bd05eac392c118c11fd5be1bab8586b6a (patch) (unidiff)
tree57339651abb889a4d664c500681d73cbdb1a6908 /libopie/big-screen/example/owidgetstack_example.h
parent302e9b70ecb247977decf97269807abe5eccbdd7 (diff)
downloadopie-eaf6da2bd05eac392c118c11fd5be1bab8586b6a.zip
opie-eaf6da2bd05eac392c118c11fd5be1bab8586b6a.tar.gz
opie-eaf6da2bd05eac392c118c11fd5be1bab8586b6a.tar.bz2
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...
Diffstat (limited to 'libopie/big-screen/example/owidgetstack_example.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie/big-screen/example/owidgetstack_example.h27
1 files changed, 27 insertions, 0 deletions
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 @@
1/*
2 * You may use, modify and distribute this example without any limitation
3 */
4
5#ifndef O_STACK_EXAMPLE_SIMPLE_H
6#define O_STACK_EXAMPLE_SIMPLE_H
7
8#include <qmainwindow.h>
9
10
11class OWidgetStack;
12class StackExample : public QMainWindow {
13 Q_OBJECT
14public:
15 StackExample( QWidget* paren, const char* name, WFlags fl );
16 ~StackExample();
17 static QString appName() { return QString::fromLatin1("owidgetstack-example"); }
18
19protected:
20 void closeEvent( QCloseEvent* e );
21private:
22 OWidgetStack* m_stack;
23 QWidget* m_main;
24
25};
26
27#endif