author | harlekin <harlekin> | 2003-04-10 20:33:24 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2003-04-10 20:33:24 (UTC) |
commit | 097706f265bf96a45932e227eb3d5d49bb3ba727 (patch) (unidiff) | |
tree | ab816a1ce85920828d9b6e837467c9c25d76f79f | |
parent | 0740e2ef7132c53ebe29cc3b548647012bc75d05 (diff) | |
download | opie-097706f265bf96a45932e227eb3d5d49bb3ba727.zip opie-097706f265bf96a45932e227eb3d5d49bb3ba727.tar.gz opie-097706f265bf96a45932e227eb3d5d49bb3ba727.tar.bz2 |
have icons on the right side
-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 | |||
@@ -36,6 +36,7 @@ | |||
36 | #include <qaction.h> | 36 | #include <qaction.h> |
37 | #include <qtimer.h> | 37 | #include <qtimer.h> |
38 | #include <qvbox.h> | 38 | #include <qvbox.h> |
39 | #include <qlayout.h> | ||
39 | #include <qlineedit.h> | 40 | #include <qlineedit.h> |
40 | #include <qwhatsthis.h> | 41 | #include <qwhatsthis.h> |
41 | 42 | ||
@@ -44,7 +45,6 @@ | |||
44 | #include <qpe/ir.h> | 45 | #include <qpe/ir.h> |
45 | #include <qpe/resource.h> | 46 | #include <qpe/resource.h> |
46 | #include <qpe/qpemessagebox.h> | 47 | #include <qpe/qpemessagebox.h> |
47 | #include <qpe/qpetoolbar.h> | ||
48 | 48 | ||
49 | #include <opie/orecur.h> | 49 | #include <opie/orecur.h> |
50 | #include <opie/otodoaccessvcal.h> | 50 | #include <opie/otodoaccessvcal.h> |
@@ -211,15 +211,18 @@ void MainWindow::initConfig() { | |||
211 | m_quicktask = config.readBoolEntry("ShowQuickTask", TRUE); | 211 | m_quicktask = config.readBoolEntry("ShowQuickTask", TRUE); |
212 | } | 212 | } |
213 | void MainWindow::initUI() { | 213 | void MainWindow::initUI() { |
214 | |||
214 | m_stack = new QWidgetStack(this, "main stack"); | 215 | m_stack = new QWidgetStack(this, "main stack"); |
216 | |||
215 | setCentralWidget( m_stack ); | 217 | setCentralWidget( m_stack ); |
216 | 218 | ||
217 | setToolBarsMovable( FALSE ); | 219 | setToolBarsMovable( FALSE ); |
218 | 220 | ||
219 | m_tool = new QPEToolBar( this ); | 221 | QToolBar *menubarholder = new QToolBar( this ); |
220 | m_tool->setHorizontalStretchable( TRUE ); | 222 | menubarholder->setHorizontalStretchable( TRUE ); |
223 | m_bar = new QMenuBar( menubarholder ); | ||
221 | 224 | ||
222 | m_bar = new QMenuBar( m_tool ); | 225 | m_tool = new QToolBar( this ); |
223 | 226 | ||
224 | /** QPopupMenu */ | 227 | /** QPopupMenu */ |
225 | m_edit = new QPopupMenu( this ); | 228 | m_edit = new QPopupMenu( this ); |
@@ -236,6 +239,7 @@ void MainWindow::initUI() { | |||
236 | this, SLOT(slotNewFromTemplate(int) ) ); | 239 | this, SLOT(slotNewFromTemplate(int) ) ); |
237 | } | 240 | } |
238 | void MainWindow::initViews() { | 241 | void MainWindow::initViews() { |
242 | |||
239 | TableView* tableView = new TableView( this, m_stack ); | 243 | TableView* tableView = new TableView( this, m_stack ); |
240 | QWhatsThis::add( tableView, QWidget::tr( "This is a listing of all current tasks.\n\nThe list displays the following information:\n1. Completed - A green checkmark indicates task is completed. Click here to complete a task.\n2. Priority - a graphical representation of task priority. Double-click here to modify.\n3. Description - description of task. Click here to select the task.\n4. Deadline - shows when task is due. This column can be shown or hidden by selecting Options->'Show task deadlines' from the menu above." ) ); | 244 | QWhatsThis::add( tableView, QWidget::tr( "This is a listing of all current tasks.\n\nThe list displays the following information:\n1. Completed - A green checkmark indicates task is completed. Click here to complete a task.\n2. Priority - a graphical representation of task priority. Double-click here to modify.\n3. Description - description of task. Click here to select the task.\n4. Deadline - shows when task is due. This column can be shown or hidden by selecting Options->'Show task deadlines' from the menu above." ) ); |
241 | m_stack->addWidget( tableView, m_counter++ ); | 245 | m_stack->addWidget( tableView, m_counter++ ); |