summaryrefslogtreecommitdiff
path: root/core/pim/todo/mainwindow.cpp
authorzecke <zecke>2002-04-13 23:19:11 (UTC)
committer zecke <zecke>2002-04-13 23:19:11 (UTC)
commit47f50cc423eab9e36a72bff18d1815d77d5dee00 (patch) (side-by-side diff)
tree12a46dd96c76de6b4fc6836b7e241f14036e4a2a /core/pim/todo/mainwindow.cpp
parent707f0d3dd81b8ecec2df4e942c0efd2ee51b7fc5 (diff)
downloadopie-47f50cc423eab9e36a72bff18d1815d77d5dee00.zip
opie-47f50cc423eab9e36a72bff18d1815d77d5dee00.tar.gz
opie-47f50cc423eab9e36a72bff18d1815d77d5dee00.tar.bz2
use OFontMenu still need to catch up with the zaurus todolist
Diffstat (limited to 'core/pim/todo/mainwindow.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/todo/mainwindow.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/core/pim/todo/mainwindow.cpp b/core/pim/todo/mainwindow.cpp
index a34bcf2..b5cace9 100644
--- a/core/pim/todo/mainwindow.cpp
+++ b/core/pim/todo/mainwindow.cpp
@@ -30,2 +30,3 @@
#include <opie/todovcalresource.h>
+#include <opie/ofontmenu.h>
@@ -187,3 +188,3 @@ TodoWindow::TodoWindow( QWidget *parent, const char *name, WFlags f = 0 ) :
- mb->insertItem( tr( "Task" ), edit );
+ mb->insertItem( tr( "Data" ), edit );
mb->insertItem( tr( "View" ), catMenu );
@@ -360,2 +361,8 @@ void TodoWindow::populateCategories()
+ QList<QWidget> list;
+ list.append(table );
+ OFontMenu *menu = new OFontMenu(this, "menu",list );
+ menu->forceSize( table->horizontalHeader(), 10 );
+ catMenu->insertItem(tr("Fonts"), menu );
+
completedAction->addTo( catMenu );