summaryrefslogtreecommitdiffabout
path: root/korganizer/kotodoview.cpp
Side-by-side diff
Diffstat (limited to 'korganizer/kotodoview.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/kotodoview.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/korganizer/kotodoview.cpp b/korganizer/kotodoview.cpp
index 27d755e..17248dc 100644
--- a/korganizer/kotodoview.cpp
+++ b/korganizer/kotodoview.cpp
@@ -485,2 +485,3 @@ KOQuickTodo::KOQuickTodo(QWidget *parent) :
setText(i18n("Click to add new Todo"));
+ setFocusPolicy ( QWidget::ClickFocus );
}
@@ -554,3 +555,17 @@ KOTodoView::KOTodoView(Calendar *calendar,QWidget* parent,const char* name) :
mNewSubBut->setFixedHeight(fixhei );
+
+ flat->setFocusPolicy( NoFocus );
+ s_done->setFocusPolicy( NoFocus );
+ allopen->setFocusPolicy( NoFocus );
+ allclose->setFocusPolicy( NoFocus );
+ s_run->setFocusPolicy( NoFocus );
+ mNewSubBut->setFocusPolicy( NoFocus );
+ QWhatsThis::add( flat, i18n("Click this button to display all todos in a <b>flat</b> hierarchy" ) );
+ QWhatsThis::add( allopen, i18n("Click this button to display all todos <b>openend</b>" ) );
+ QWhatsThis::add( allclose, i18n("Click this button to display all todos <b>closed</b>" ) );
+ QWhatsThis::add( s_run, i18n("Click this button to toggle show/hide <b>running</b> todos" ) );
+ QWhatsThis::add( mNewSubBut, i18n("Click this button to add a new subtodo to the currently selected todo" ) );
+ QWhatsThis::add( s_done, i18n("Click this button to toggle show/hide <b>completed</b> todos" ) );
+
quickLayout->addWidget( mNewSubBut );