author | zecke <zecke> | 2003-05-12 13:21:59 (UTC) |
---|---|---|
committer | zecke <zecke> | 2003-05-12 13:21:59 (UTC) |
commit | 9a4c9544a59f8395f2ec5e7c99028570f8bd8bd1 (patch) (unidiff) | |
tree | 8af13b984750f743b7f9f06bbf04b531b1a10ff2 /core/pim/todo/taskeditorstatus.cpp | |
parent | a4c8b8912c9e87a2fd76103193e6b4f91c2a2c5d (diff) | |
download | opie-9a4c9544a59f8395f2ec5e7c99028570f8bd8bd1.zip opie-9a4c9544a59f8395f2ec5e7c99028570f8bd8bd1.tar.gz opie-9a4c9544a59f8395f2ec5e7c99028570f8bd8bd1.tar.bz2 |
Hospital Hacking Session
make more translatable
fix up GUI for Opie1.0 in regards what is implemnted
implement setting and removing of Alarms!!!!
Show Alarms once they got fired...
Diffstat (limited to 'core/pim/todo/taskeditorstatus.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/todo/taskeditorstatus.cpp | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/core/pim/todo/taskeditorstatus.cpp b/core/pim/todo/taskeditorstatus.cpp index 4331877..0ab4223 100644 --- a/core/pim/todo/taskeditorstatus.cpp +++ b/core/pim/todo/taskeditorstatus.cpp | |||
@@ -144,6 +144,7 @@ TaskEditorStatus::TaskEditorStatus( QWidget* parent, const char* name, WFlags f | |||
144 | layout->addItem( spacer, 5, 0 ); | 144 | layout->addItem( spacer, 5, 0 ); |
145 | 145 | ||
146 | // Maintainer mode | 146 | // Maintainer mode |
147 | #if 0 | ||
147 | label = new QLabel( tr( "Maintainer Mode:" ), container ); | 148 | label = new QLabel( tr( "Maintainer Mode:" ), container ); |
148 | layout->addWidget( label, 6, 0 ); | 149 | layout->addWidget( label, 6, 0 ); |
149 | QWhatsThis::add( label, tr( "Click here to set the maintainer's role." ) ); | 150 | QWhatsThis::add( label, tr( "Click here to set the maintainer's role." ) ); |
@@ -152,7 +153,7 @@ TaskEditorStatus::TaskEditorStatus( QWidget* parent, const char* name, WFlags f | |||
152 | cmbMaintMode->insertItem( tr( "Responsible" ) ); | 153 | cmbMaintMode->insertItem( tr( "Responsible" ) ); |
153 | cmbMaintMode->insertItem( tr( "Done By" ) ); | 154 | cmbMaintMode->insertItem( tr( "Done By" ) ); |
154 | cmbMaintMode->insertItem( tr( "Coordinating" ) ); | 155 | cmbMaintMode->insertItem( tr( "Coordinating" ) ); |
155 | layout->addMultiCellWidget( cmbMaintMode, 6, 6, 1, 2 ); | 156 | // layout->addMultiCellWidget( cmbMaintMode, 6, 6, 1, 2 ); |
156 | QWhatsThis::add( cmbMaintMode, tr( "Click here to set the maintainer's role." ) ); | 157 | QWhatsThis::add( cmbMaintMode, tr( "Click here to set the maintainer's role." ) ); |
157 | 158 | ||
158 | // Maintainer | 159 | // Maintainer |
@@ -165,8 +166,9 @@ TaskEditorStatus::TaskEditorStatus( QWidget* parent, const char* name, WFlags f | |||
165 | QWhatsThis::add( txtMaintainer, tr( "This is the name of the current task maintainer." ) ); | 166 | QWhatsThis::add( txtMaintainer, tr( "This is the name of the current task maintainer." ) ); |
166 | tbtMaintainer = new QToolButton( container ); | 167 | tbtMaintainer = new QToolButton( container ); |
167 | tbtMaintainer->setPixmap( Resource::loadPixmap( "todo/more" ) ); | 168 | tbtMaintainer->setPixmap( Resource::loadPixmap( "todo/more" ) ); |
168 | layout->addWidget( tbtMaintainer, 7, 2 ); | 169 | // layout->addWidget( tbtMaintainer, 7, 2 ); |
169 | QWhatsThis::add( tbtMaintainer, tr( "Click here to select the task maintainer." ) ); | 170 | QWhatsThis::add( tbtMaintainer, tr( "Click here to select the task maintainer." ) ); |
171 | #endif | ||
170 | } | 172 | } |
171 | 173 | ||
172 | TaskEditorStatus::~TaskEditorStatus() | 174 | TaskEditorStatus::~TaskEditorStatus() |
@@ -216,11 +218,12 @@ void TaskEditorStatus::load( const OTodo &todo ) | |||
216 | btnComp->setText( str ); | 218 | btnComp->setText( str ); |
217 | 219 | ||
218 | // Maintainer Mode | 220 | // Maintainer Mode |
221 | #if 0 | ||
219 | state = todo.hasMaintainer() ? todo.maintainer().mode() : OPimMaintainer::Nothing; | 222 | state = todo.hasMaintainer() ? todo.maintainer().mode() : OPimMaintainer::Nothing; |
220 | if ( state == OPimMaintainer::Undefined ) | 223 | if ( state == OPimMaintainer::Undefined ) |
221 | state = OPimMaintainer::Nothing; | 224 | state = OPimMaintainer::Nothing; |
222 | cmbMaintMode->setCurrentItem( state ); | 225 | cmbMaintMode->setCurrentItem( state ); |
223 | 226 | #endif | |
224 | // Maintainer - not implemented yet | 227 | // Maintainer - not implemented yet |
225 | } | 228 | } |
226 | 229 | ||
@@ -260,11 +263,13 @@ void TaskEditorStatus::save( OTodo &todo ) | |||
260 | else | 263 | else |
261 | todo.setCompletedDate( inval ); | 264 | todo.setCompletedDate( inval ); |
262 | 265 | ||
266 | #if 0 | ||
263 | // Maintainer mode - not implemented yet | 267 | // Maintainer mode - not implemented yet |
264 | 268 | ||
265 | // Maintainer | 269 | // Maintainer |
266 | /* TODO - resolve name to uid.....*/ | 270 | /* TODO - resolve name to uid.....*/ |
267 | todo.setMaintainer( OPimMaintainer( cmbMaintMode->currentItem(), -10 ) ); | 271 | todo.setMaintainer( OPimMaintainer( cmbMaintMode->currentItem(), -10 ) ); |
272 | #endif | ||
268 | } | 273 | } |
269 | 274 | ||
270 | void TaskEditorStatus::slotStartChecked() | 275 | void TaskEditorStatus::slotStartChecked() |