[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-pim
Subject: [Kde-pim] KOrg whatsthis take two
From: Carlos Leonhard Woelz <carlos.woelz () kdemail ! net>
Date: 2005-06-02 18:27:23
Message-ID: 200506021527.24346.carlos.woelz () kdemail ! net
[Download RAW message or body]
Hi,
These are patches for the main window. With these patches, I believe KOrg is
in good shape whatsthis-wise.
BTW, I feel that the resources concept is a bit undocumented. Is there someone
currently maintaining KOrg docs? They could use some love...
Cheers,
Carlos Woelz
["korg-additional-whatsthis.patch" (text/x-diff)]
Index: datenavigatorcontainer.cpp
===================================================================
--- datenavigatorcontainer.cpp (revision 420933)
+++ datenavigatorcontainer.cpp (working copy)
@@ -35,6 +35,8 @@
#include "datenavigatorcontainer.h"
+#include <qwhatsthis.h>
+
DateNavigatorContainer::DateNavigatorContainer( QWidget *parent,
const char *name )
: QFrame( parent, name ), mCalendar( 0 ),
@@ -44,6 +46,16 @@
setFrameStyle( QFrame::Sunken | QFrame::StyledPanel );
mNavigatorView = new KDateNavigator( this, name );
+ QWhatsThis::add( mNavigatorView,
+ i18n( "<qt><p>Select the dates you want to "
+ "display in KOrganizer's main view here. Hold the "
+ "mouse button to select more than one day.</p>"
+ "<p>Press the upper buttons to browse to the next "
+ "/ previous months or years.</p>"
+ "<p>Each line shows a week. The number in the left "
+ "column is the number of the week in the year. "
+ "Press it to select the whole week.</p>"
+ "</qt>" ) );
connectNavigatorView( mNavigatorView );
}
Index: calendarview.cpp
===================================================================
--- calendarview.cpp (revision 420933)
+++ calendarview.cpp (working copy)
@@ -103,6 +103,7 @@
#include <qsplitter.h>
#endif
#include <qvbox.h>
+#include <qwhatsthis.h>
#include <stdlib.h>
#include <assert.h>
@@ -264,6 +265,9 @@
"you will see a preview of that item here.</p>");
mEventViewer->setDefaultText( s );
+ QWhatsThis::add( mEventViewer,
+ i18n( "View the details of events or to-dos selected in "
+ "KOrganizer's main view here." ) );
mEventViewer->setIncidence( 0 );
mViewManager->connectTodoView( mTodoList );
Index: resourceview.cpp
===================================================================
--- resourceview.cpp (revision 420933)
+++ resourceview.cpp (working copy)
@@ -43,6 +43,7 @@
#include <qlabel.h>
#include <qpushbutton.h>
#include <qpopupmenu.h>
+#include <qwhatsthis.h>
#include "koprefs.h"
@@ -200,6 +201,18 @@
QBoxLayout *topLayout = new QVBoxLayout( this, 0, KDialog::spacingHint() );
mListView = new KListView( this );
+ QWhatsThis::add( mListView,
+ i18n( "<qt><p>Select on this list the active KOrganizer "
+ "resources. Check the resourse box to make it "
+ "active. Press the \"Add...\" button below to add new "
+ "resources to the list.</p>"
+ "<p>Calendar, journal and tasks items are retrieved "
+ "and stored on one of these resources. Available "
+ "resources include groupware servers, local files, "
+ "journal as blogs on a server, etc...</p>"
+ "<p>If you have more than one active resource, you "
+ "will be prompted to select the resource to use when "
+ "saving incidents.</p></qt>" ) );
mListView->addColumn( i18n("Calendar") );
mListView->setResizeMode( QListView::LastColumn );
topLayout->addWidget( mListView );
@@ -209,8 +222,24 @@
topLayout->addWidget( buttonBox );
mAddButton = new QPushButton( i18n("Add..."), buttonBox, "add" );
+ QWhatsThis::add( mAddButton,
+ i18n( "<qt><p>Press this button to add a resource to the "
+ "KOrganizer available resources list above.</p>"
+ "<p>Calendar, journal and tasks items are retrieved "
+ "and stored on one of these resources. Available "
+ "resources include groupware servers, local files, "
+ "journal as blogs on a server, etc... </p>"
+ "<p>If you have more than one active resource, "
+ "you will be prompted to select the resource when "
+ "saving incidents.</p></qt>" ) );
mEditButton = new QPushButton( i18n("Edit..."), buttonBox, "edit" );
+ QWhatsThis::add( mEditButton,
+ i18n( "Press this button to edit the resource currently "
+ "selected on the KOrganizer resources list above." ) );
mDeleteButton = new QPushButton( i18n("Remove"), buttonBox, "del" );
+ QWhatsThis::add( mDeleteButton,
+ i18n( "Press this button to delete the resource currently "
+ "selected on the KOrganizer resources list above." ) );
mDeleteButton->setDisabled( true );
mEditButton->setDisabled( true );
_______________________________________________
kde-pim mailing list
kde-pim@kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
kde-pim home page at http://pim.kde.org/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic