[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-pim
Subject:    [Kde-pim] [PATCH] Even more whatsthis
From:       Carlos Leonhard Woelz <carloswoelz () imap-mail ! com>
Date:       2004-06-28 20:50:34
Message-ID: 200406281750.41773.carloswoelz () imap-mail ! com
[Download RAW message or body]

[Attachment #2 (multipart/signed)]

[Attachment #4 (multipart/mixed)]


Hi,

The internal viewers are pretty complete in terms of context help. But I found 
a couple of widgets missing whatsthis. (todo and address). Note that I 
skipped phase one of Adriaan's profit plan (learn c++, create a patch, 
profit), using Aaron's guide for creating WhatsThis inside c++ code.

There is a patch to replace the quit button for a context help button too. 
Removing the quit button was discussed in another mail, nobody objected. And 
adding the context help button would be nice, since we have almost complete 
context help. Why not  show it? :) 

I would like to add whatsthis to the toolbar buttons, even the ones that are 
not displayed by default. I only managed to do that for one (the pop up next 
sync), and could not find information on how to add to the others, since they 
are not explicit in the code (I could not find them). Anyway, this is not the 
most urgent task in the world, but if someone explain me that, I would gladly 
complete the task.

Cheers,

Carlos Woelz

["kpilot-addressviewer.diff" (text/x-diff)]

Index: kpilot/kpilot/addressWidget.cc
===================================================================
RCS file: /home/kde/kdepim/kpilot/kpilot/addressWidget.cc,v
retrieving revision 1.69
diff -u -r1.69 addressWidget.cc
--- kpilot/kpilot/addressWidget.cc	21 Jun 2004 21:15:40 -0000	1.69
+++ kpilot/kpilot/addressWidget.cc	28 Jun 2004 20:11:53 -0000
@@ -253,7 +253,10 @@
 	// address info text view
 	fAddrInfo = new QTextView(this);
 	grid->addMultiCellWidget(fAddrInfo, 1, 4, 2, 2);
-
+	QWhatsThis::add(fAddrInfo,
+		i18n("<qt>View here the contact information "
+			"available for the address selected "
+			"in the list to the left.</qt>"));	
 	QPushButton *button;
 	QString wt;
 

["kpilot-sync-whatsthis.diff" (text/x-diff)]

Index: kpilot/kpilot/kpilot.cc
===================================================================
RCS file: /home/kde/kdepim/kpilot/kpilot/kpilot.cc,v
retrieving revision 1.142
diff -u -r1.142 kpilot.cc
--- kpilot/kpilot/kpilot.cc	22 Jun 2004 10:08:19 -0000	1.142
+++ kpilot/kpilot/kpilot.cc	28 Jun 2004 20:06:56 -0000
@@ -565,6 +565,8 @@
 
 	syncPopup = new KActionMenu(i18n("HotSync"), CSL1("hotsync"),
 		actionCollection(), "popup_hotsync");
+	syncPopup->setWhatsThis(i18n("Show a pop-up menu listing "
+		"the sync options available for the next HotSync"));
 	connect(syncPopup, SIGNAL(activated()),
 		this, SLOT(slotHotSyncRequested()));
 

["kpilot-todoviewer.diff" (text/x-diff)]

Index: kpilot/kpilot/todoWidget.cc
===================================================================
RCS file: /home/kde/kdepim/kpilot/kpilot/todoWidget.cc,v
retrieving revision 1.12
diff -u -r1.12 todoWidget.cc
--- kpilot/kpilot/todoWidget.cc	21 Jun 2004 21:15:40 -0000	1.12
+++ kpilot/kpilot/todoWidget.cc	28 Jun 2004 20:07:02 -0000
@@ -260,6 +260,10 @@
 	// todo info text view
 	fTodoInfo = new QTextView(this);
 	grid->addMultiCellWidget(fTodoInfo, 1, 4, 2, 2);
+	QWhatsThis::add(fTodoInfo,
+		i18n("<qt>View here the detailed information "
+			"available for the todo selected "
+			"in the list to the left.</qt>"));
 
 	QPushButton *button;
 	QString wt;

["kpilot-toolbar.diff" (text/x-diff)]

Index: kpilot/kpilot/kpilotui.rc
===================================================================
RCS file: /home/kde/kdepim/kpilot/kpilot/kpilotui.rc,v
retrieving revision 1.11
diff -u -r1.11 kpilotui.rc
--- kpilot/kpilot/kpilotui.rc	28 Apr 2004 20:59:17 -0000	1.11
+++ kpilot/kpilot/kpilotui.rc	28 Jun 2004 20:10:18 -0000
@@ -38,7 +38,7 @@
   <Action name="file_backup" />
   <Action name="file_reload" />
   <Separator />
-  <Action name="file_quit" />
+  <Action name="help_whats_this" />
 </ToolBar>
 
 </kpartgui>

[Attachment #11 (application/pgp-signature)]

_______________________________________________
kde-pim mailing list
kde-pim@mail.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