author | zecke <zecke> | 2002-04-13 23:19:11 (UTC) |
---|---|---|
committer | zecke <zecke> | 2002-04-13 23:19:11 (UTC) |
commit | 47f50cc423eab9e36a72bff18d1815d77d5dee00 (patch) (side-by-side diff) | |
tree | 12a46dd96c76de6b4fc6836b7e241f14036e4a2a | |
parent | 707f0d3dd81b8ecec2df4e942c0efd2ee51b7fc5 (diff) | |
download | opie-47f50cc423eab9e36a72bff18d1815d77d5dee00.zip opie-47f50cc423eab9e36a72bff18d1815d77d5dee00.tar.gz opie-47f50cc423eab9e36a72bff18d1815d77d5dee00.tar.bz2 |
use OFontMenu still need to catch up with the zaurus todolist
-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 @@ -2,2 +2,3 @@ -fix day wrapping update all DueDateItems -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 @@ -29,4 +29,5 @@ #include <opie/tododb.h> #include <opie/todovcalresource.h> +#include <opie/ofontmenu.h> #include <qpe/qpeapplication.h> @@ -186,5 +187,5 @@ TodoWindow::TodoWindow( QWidget *parent, const char *name, WFlags f = 0 ) : populateCategories(); - mb->insertItem( tr( "Task" ), edit ); + mb->insertItem( tr( "Data" ), edit ); mb->insertItem( tr( "View" ), catMenu ); @@ -359,4 +360,10 @@ void TodoWindow::populateCategories() catMenu->clear(); + 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 ); completedAction->setOn( table->showCompleted() ); 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 @@ -29,4 +29,5 @@ class QAction; class QPopupMenu; class Ir; +class OFontMenu; class TodoWindow : public QMainWindow @@ -78,2 +79,4 @@ private: #endif + + |