[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase/runtime/drkonqi
From: Darío Andrés Rodríguez <andresbajotierra () gmail ! co
Date: 2010-02-28 1:00:31
Message-ID: 1267318831.979869.4557.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 1096959 by darioandres:
- Improve the usability of the option to manually choose a bug report ID
- Added tooltip and whatsthis messages
- Updated ToDo
M +2 -2 ToDo
M +15 -2 reportassistantpages_bugzilla_duplicates.cpp
--- trunk/KDE/kdebase/runtime/drkonqi/ToDo #1096958:1096959
@@ -23,8 +23,6 @@
- Merge the two main dialogs (?)
-- Improve the "Enter manual bug ID" option in the Duplicates page to be more discoverable
-
#Other
- If attaching, include in the attach'description, a condensed string with the app/kdesc version
@@ -108,6 +106,8 @@
#DONE
-------
+- Improve the "Enter manual bug ID" option in the Duplicates page to be more discoverable
+
- Improve the help about the information the user needs to provide
- Show the minimum text require length / or a "progress bar"(or capacitybar)
--- trunk/KDE/kdebase/runtime/drkonqi/reportassistantpages_bugzilla_duplicates.cpp #1096958:1096959
@@ -58,13 +58,21 @@
header->setResizeMode(0, QHeaderView::ResizeToContents);
header->setResizeMode(1, QHeaderView::Interactive);
+ //Create manual bug report entry (first one)
QTreeWidgetItem * customBugItem = new QTreeWidgetItem(
- QStringList() << i18nc("@item:intable custom bug report number", "Custom")
+ QStringList() << i18nc("@item:intable custom/manaul bug report number", "Manual")
<< i18nc("@item:intable custom bug report number description",
"Manually enter a bug report ID"));
customBugItem->setData(0, Qt::UserRole, QLatin1String("custom"));
customBugItem->setIcon(1, KIcon("edit-rename"));
+ QString helpMessage = i18nc("@info:tooltip / whatsthis",
+ "Select this option to manually load a specific bug report");
+ customBugItem->setToolTip(0, helpMessage);
+ customBugItem->setToolTip(1, helpMessage);
+ customBugItem->setWhatsThis(0, helpMessage);
+ customBugItem->setWhatsThis(1, helpMessage);
+
ui.m_bugListWidget->addTopLevelItem(customBugItem);
m_searchMoreGuiItem = KGuiItem2(i18nc("@action:button", "Search for more reports"),
@@ -314,7 +322,12 @@
title = customStatusString + ' ' + bug["short_desc"];
QStringList fields = QStringList() << bug["bug_id"] << title;
- ui.m_bugListWidget->addTopLevelItem(new QTreeWidgetItem(fields));
+
+ QTreeWidgetItem * item = new QTreeWidgetItem(fields);
+ item->setToolTip(0, bug["short_desc"]);
+ item->setToolTip(1, bug["short_desc"]);
+
+ ui.m_bugListWidget->addTopLevelItem(item);
}
ui.m_bugListWidget->sortItems(0 , Qt::DescendingOrder);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic