summaryrefslogtreecommitdiffabout
authorzautrix <zautrix>2005-08-10 16:47:41 (UTC)
committer zautrix <zautrix>2005-08-10 16:47:41 (UTC)
commit1af305e995d99549091c5b1e167b6101a3910f0d (patch) (side-by-side diff)
tree617106288214a86362d6424d9370f10e5b0572ba
parent2ec31858158e42921b8d7fa2b75ccb1a16d8969c (diff)
downloadkdepimpi-1af305e995d99549091c5b1e167b6101a3910f0d.zip
kdepimpi-1af305e995d99549091c5b1e167b6101a3910f0d.tar.gz
kdepimpi-1af305e995d99549091c5b1e167b6101a3910f0d.tar.bz2
qwhatsthis text
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--korganizer/kofilterview.cpp8
-rw-r--r--korganizer/kofilterview.h6
-rw-r--r--korganizer/kotodoview.cpp15
3 files changed, 25 insertions, 4 deletions
diff --git a/korganizer/kofilterview.cpp b/korganizer/kofilterview.cpp
index 6a6fff9..e86ec95 100644
--- a/korganizer/kofilterview.cpp
+++ b/korganizer/kofilterview.cpp
@@ -31,2 +31,3 @@
#include <qtextcodec.h>
+#include <qwhatsthis.h>
@@ -253,2 +254,3 @@ void KOCalEditView::readConfig()
connect(addButT,SIGNAL(clicked()),SLOT(defaultInfo()));
+ QWhatsThis::add( addButT, i18n("Please choose the <b>default calendar</b> in this column. Newly created or imported items are added to the default calendar.") );
//addBut->setPixmap ( SmallIcon("greenhook16"));
@@ -258,2 +260,3 @@ void KOCalEditView::readConfig()
addBut->setPixmap ( SmallIcon("eye"));
+ QWhatsThis::add( addBut, i18n("In this column you can <b>set a calendar to be visible</b>. If a calendar is not visible its entries are not displayed in the views. You can add items to it and it is loaded/saved as usual.") );
connect(addBut,SIGNAL(clicked()),SLOT(enableAll()));
@@ -264,2 +267,3 @@ void KOCalEditView::readConfig()
mainLayout->addWidget( lab,0,++ii );
+ QWhatsThis::add( lab, i18n("In this column you can see the <b>name of the calendar</b>. If you click on the name button you will get an information box about the loaded calendar file. If the file was not loaded at startup you can try to load it here again.") );
//lab = new QLabel ( i18n(" "), mw );
@@ -271,2 +275,3 @@ void KOCalEditView::readConfig()
addBut->setPixmap ( SmallIcon("bell"));
+ QWhatsThis::add( addBut, i18n("In this column you can <b>disable the alarms of a calendar all together</b>. The alarm data in the calendar itself is not changed, the alarms are marked internally as \"do not use\". Useful if you load a calendar of another person but do not want to get notified about alarms of that person.") );
connect(addBut,SIGNAL(clicked()),SLOT(enableAlarm()));
@@ -278,2 +283,3 @@ void KOCalEditView::readConfig()
addBut->setPixmap ( SmallIcon("pencil"));
+ QWhatsThis::add( addBut, i18n("In this column you can <b>set a calendar and all entries of the calendar to read only</b>. If a calendar is readonly the entries cannot be edited and no items can be added to the calendar. If you change a setting of a calendar to readonly in this column all data will be saved because the data of a readonly calendar is not saved later.") );
connect(addBut,SIGNAL(clicked()),SLOT(disableRO()));
@@ -288,3 +294,3 @@ void KOCalEditView::readConfig()
connect(addBut,SIGNAL(clicked()),SLOT(addCal()));
-
+ QWhatsThis::add( addBut, i18n("Click this button to <b>add a calendar</b>. You can add an existing calendar file or you can add a new calendar and KO/Pi creates a new empty calendar file for you.") );
lab = new QLabel ( " ", mw );
diff --git a/korganizer/kofilterview.h b/korganizer/kofilterview.h
index be7b5b6..d534dbf 100644
--- a/korganizer/kofilterview.h
+++ b/korganizer/kofilterview.h
@@ -63,3 +63,3 @@ class KONewCalPrefs : public QDialog
lay->addWidget( nameE );
- lab = new QLabel( i18n("<b>Local ical (*.ics) file:</b>"), this );
+ lab = new QLabel( i18n("<b>iCal (*.ics) file on disk:</b><br>(will be created, if not existing)"), this );
lay->addWidget( lab );
@@ -73,4 +73,4 @@ class KONewCalPrefs : public QDialog
connect (cancel, SIGNAL(clicked() ), this, SLOT ( reject()) );
- int minwid = 220;
- if ( QApplication::desktop()->width() >= 320 ) minwid = 300;
+ int minwid = 440;
+ if ( QApplication::desktop()->width() < 480 ) minwid = 220;
setMinimumWidth( minwid );
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 );
}
@@ -555,2 +556,16 @@ KOTodoView::KOTodoView(Calendar *calendar,QWidget* parent,const char* name) :
+ 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 );