author | harlekin <harlekin> | 2003-04-10 20:33:24 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2003-04-10 20:33:24 (UTC) |
commit | 097706f265bf96a45932e227eb3d5d49bb3ba727 (patch) (side-by-side diff) | |
tree | ab816a1ce85920828d9b6e837467c9c25d76f79f /core/pim/todo/mainwindow.cpp | |
parent | 0740e2ef7132c53ebe29cc3b548647012bc75d05 (diff) | |
download | opie-097706f265bf96a45932e227eb3d5d49bb3ba727.zip opie-097706f265bf96a45932e227eb3d5d49bb3ba727.tar.gz opie-097706f265bf96a45932e227eb3d5d49bb3ba727.tar.bz2 |
have icons on the right side
Diffstat (limited to 'core/pim/todo/mainwindow.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/todo/mainwindow.cpp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/core/pim/todo/mainwindow.cpp b/core/pim/todo/mainwindow.cpp index 58981ca..77cbe17 100644 --- a/core/pim/todo/mainwindow.cpp +++ b/core/pim/todo/mainwindow.cpp @@ -38,2 +38,3 @@ #include <qvbox.h> +#include <qlayout.h> #include <qlineedit.h> @@ -46,3 +47,2 @@ #include <qpe/qpemessagebox.h> -#include <qpe/qpetoolbar.h> @@ -213,3 +213,5 @@ void MainWindow::initConfig() { void MainWindow::initUI() { + m_stack = new QWidgetStack(this, "main stack"); + setCentralWidget( m_stack ); @@ -218,6 +220,7 @@ void MainWindow::initUI() { - m_tool = new QPEToolBar( this ); - m_tool->setHorizontalStretchable( TRUE ); + QToolBar *menubarholder = new QToolBar( this ); + menubarholder->setHorizontalStretchable( TRUE ); + m_bar = new QMenuBar( menubarholder ); - m_bar = new QMenuBar( m_tool ); + m_tool = new QToolBar( this ); @@ -238,2 +241,3 @@ void MainWindow::initUI() { void MainWindow::initViews() { + TableView* tableView = new TableView( this, m_stack ); |