-rw-r--r-- | core/pim/todo/TODO | 1 | ||||
-rw-r--r-- | core/pim/todo/mainwindow.cpp | 9 | ||||
-rw-r--r-- | core/pim/todo/mainwindow.h | 3 |
3 files changed, 12 insertions, 1 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 @@ -3 +3,2 @@ -when checking the C. box update the deadline
\ No newline at end of file +-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 @@ #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 ); 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; class Ir; +class OFontMenu; @@ -79 +80,3 @@ private: #endif + + |