author | zautrix <zautrix> | 2005-08-10 16:47:41 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-08-10 16:47:41 (UTC) |
commit | 1af305e995d99549091c5b1e167b6101a3910f0d (patch) (side-by-side diff) | |
tree | 617106288214a86362d6424d9370f10e5b0572ba /korganizer/kotodoview.cpp | |
parent | 2ec31858158e42921b8d7fa2b75ccb1a16d8969c (diff) | |
download | kdepimpi-1af305e995d99549091c5b1e167b6101a3910f0d.zip kdepimpi-1af305e995d99549091c5b1e167b6101a3910f0d.tar.gz kdepimpi-1af305e995d99549091c5b1e167b6101a3910f0d.tar.bz2 |
qwhatsthis text
-rw-r--r-- | korganizer/kotodoview.cpp | 15 |
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 @@ -483,6 +483,7 @@ KOQuickTodo::KOQuickTodo(QWidget *parent) : QLineEdit(parent) { setText(i18n("Click to add new Todo")); + setFocusPolicy ( QWidget::ClickFocus ); } void KOQuickTodo::focusInEvent(QFocusEvent *ev) @@ -552,7 +553,21 @@ KOTodoView::KOTodoView(Calendar *calendar,QWidget* parent,const char* name) : allclose->setFixedHeight(fixhei ); s_run->setFixedHeight(fixhei ); 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 ); quickLayout->addWidget( s_done ); quickLayout->addWidget( s_run ); |