From f63c4f952daeeda9787b8b700a9d50f20cdff88c Mon Sep 17 00:00:00 2001 From: zecke Date: Sun, 16 Jun 2002 16:55:40 +0000 Subject: I dunno --- (limited to 'core') diff --git a/core/pim/todo/todoentry.ui b/core/pim/todo/todoentry.ui index 5da4bb7..9ffa89b 100644 --- a/core/pim/todo/todoentry.ui +++ b/core/pim/todo/todoentry.ui @@ -30,7 +30,7 @@ 0 0 - 429 + 425 321 @@ -48,13 +48,13 @@ QLayoutWidget name - Layout22 + Layout31 geometry - 0 - 5 + 1 + 6 240 310 @@ -68,11 +68,11 @@ spacing 6 - + QLayoutWidget name - Layout18 + Layout19 @@ -87,38 +87,70 @@ QLabel name - TextLabel3 - - - frameShape - NoFrame + txtProg text - Category: + Progress: - CategorySelect + QComboBox + + + text + 0% + + + + + text + 20% + + + + + text + 40% + + + + + text + 60% + + + + + text + 80% + + + + + text + 100% + + name - comboCategory + cmbProg - minimumSize + maximumSize - 60 - 0 + 45 + 32767 - + QLayoutWidget name - Layout4 + Layout18 @@ -133,18 +165,29 @@ QLabel name - TextLabel1 + TextLabel3 + + + frameShape + NoFrame text - Summary: + Category: - QLineEdit + CategorySelect name - lneSum + comboCategory + + + minimumSize + + 60 + 0 + @@ -225,6 +268,13 @@ + + QMultiLineEdit + + name + txtTodo + + QLayoutWidget @@ -279,11 +329,11 @@ - + QLayoutWidget name - Layout19 + Layout30 @@ -298,72 +348,43 @@ QLabel name - txtProg + TextLabel1 text - Progress: + Summary: - QComboBox - - - text - 0% - - - - - text - 20% - - - - - text - 40% - - - - - text - 60% - - - - - text - 80% - - - - - text - 100% - - + QLineEdit name - cmbProg + lneSum + + + + OClickableLabel + + name + lblDown + + + minimumSize + + 20 + 20 + maximumSize - 45 - 32767 + 20 + 20 - - QMultiLineEdit - - name - txtTodo - - @@ -382,6 +403,23 @@ image0 + + OClickableLabel +
opie/oclickablelabel.h
+ + -1 + -1 + + 0 + + 5 + 5 + + image0 + clicked() + toggled(bool) + slotOn(bool) +
@@ -396,7 +434,14 @@ buttonDate setEnabled(bool) + + lblDown + clicked() + NewTaskDialogBase + slotCopy() + dateChanged( const QString & ) dateChanged( int, int, int ) + slotCopy() diff --git a/core/pim/todo/todoentryimpl.cpp b/core/pim/todo/todoentryimpl.cpp index f8e2f4d..dd01130 100644 --- a/core/pim/todo/todoentryimpl.cpp +++ b/core/pim/todo/todoentryimpl.cpp @@ -21,12 +21,14 @@ #include "todoentryimpl.h" +#include #include #include #include #include #include +#include #include #include #include @@ -99,6 +101,7 @@ void NewTaskDialog::init() buttonDate->setText( TimeString::longDateString( date ) ); picker->setDate( date.year(), date.month(), date.day() ); + lblDown->setPixmap(Resource::loadPixmap("down") ); } /* @@ -140,7 +143,11 @@ ToDoEvent NewTaskDialog::todoEntry() todo.setProgress( text.remove( text.length()-1, 1 ).toUShort() ); return todo; } - +void NewTaskDialog::slotCopy() +{ + txtTodo->clear(); + txtTodo->setText( lneSum->text() ); +} /*! diff --git a/core/pim/todo/todoentryimpl.h b/core/pim/todo/todoentryimpl.h index 6407eb4..49d1274 100644 --- a/core/pim/todo/todoentryimpl.h +++ b/core/pim/todo/todoentryimpl.h @@ -47,7 +47,7 @@ public: protected slots: void dateChanged( int y, int m, int d ); - + void slotCopy(); protected: virtual void accept(); -- cgit v0.9.0.2