summaryrefslogtreecommitdiff
authorzecke <zecke>2002-04-13 23:19:11 (UTC)
committer zecke <zecke>2002-04-13 23:19:11 (UTC)
commit47f50cc423eab9e36a72bff18d1815d77d5dee00 (patch) (unidiff)
tree12a46dd96c76de6b4fc6836b7e241f14036e4a2a
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 (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/todo/TODO3
-rw-r--r--core/pim/todo/mainwindow.cpp9
-rw-r--r--core/pim/todo/mainwindow.h3
3 files changed, 13 insertions, 2 deletions
diff --git a/core/pim/todo/TODO b/core/pim/todo/TODO
index e5d2f9d..040f163 100644
--- a/core/pim/todo/TODO
+++ b/core/pim/todo/TODO
@@ -2,2 +2,3 @@
2-fix day wrapping update all DueDateItems 2-fix day wrapping update all DueDateItems
3-when checking the C. box update the deadline \ No newline at end of file 3-when checking the C. box update the deadline
4-TodoLabel : public TextView
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 @@
30#include <opie/todovcalresource.h> 30#include <opie/todovcalresource.h>
31#include <opie/ofontmenu.h>
31 32
@@ -187,3 +188,3 @@ TodoWindow::TodoWindow( QWidget *parent, const char *name, WFlags f = 0 ) :
187 188
188 mb->insertItem( tr( "Task" ), edit ); 189 mb->insertItem( tr( "Data" ), edit );
189 mb->insertItem( tr( "View" ), catMenu ); 190 mb->insertItem( tr( "View" ), catMenu );
@@ -360,2 +361,8 @@ void TodoWindow::populateCategories()
360 361
362 QList<QWidget> list;
363 list.append(table );
364 OFontMenu *menu = new OFontMenu(this, "menu",list );
365 menu->forceSize( table->horizontalHeader(), 10 );
366 catMenu->insertItem(tr("Fonts"), menu );
367
361 completedAction->addTo( catMenu ); 368 completedAction->addTo( catMenu );
diff --git a/core/pim/todo/mainwindow.h b/core/pim/todo/mainwindow.h
index a81c27c..9be7c66 100644
--- a/core/pim/todo/mainwindow.h
+++ b/core/pim/todo/mainwindow.h
@@ -30,2 +30,3 @@ class QPopupMenu;
30class Ir; 30class Ir;
31class OFontMenu;
31 32
@@ -79 +80,3 @@ private:
79#endif 80#endif
81
82