[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: 2009-11-23 1:22:32
Message-ID: 1258939352.589998.17105.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 1053051 by darioandres:
- Added examples of good bug report titles
- Updated ToDo
CCMAIL: andrew_coles@yahoo.co.uk
M +1 -8 ToDo
M +15 -0 reportassistantpages_bugzilla.cpp
M +2 -0 reportassistantpages_bugzilla.h
M +8 -5 ui/assistantpage_bugzilla_information.ui
--- trunk/KDE/kdebase/runtime/drkonqi/ToDo #1053050:1053051
@@ -1,14 +1,6 @@
##Main Tasks
-------------
-!!!
-BugAwareness UI
-Improve UI files i18n semantics
-
-Update help ?
-
-Include help in the details page, near the "Details:" label (ex. "What should I \
write this?" link with help)
-
- REVIEW criteria of minimum chars/words to use in the Title and Details fields
---
@@ -73,6 +65,7 @@
---------
- Implement a proper DBus interface.
+- Include help in the details page, near the "Details:" label (ex. "What should I \
write this?" link with help)
#DONE
-------
--- trunk/KDE/kdebase/runtime/drkonqi/reportassistantpages_bugzilla.cpp \
#1053050:1053051 @@ -30,6 +30,8 @@
#include <QtGui/QLabel>
#include <QtGui/QCheckBox>
+#include <QtGui/QToolTip>
+#include <QtGui/QCursor>
#include <KIcon>
#include <KMessageBox>
@@ -288,6 +290,8 @@
connect(ui.m_titleEdit, SIGNAL(textChanged(QString)), this, SLOT(checkTexts()));
connect(ui.m_detailsEdit, SIGNAL(textChanged()), this, SLOT(checkTexts()));
+ connect(ui.m_titleLabel, SIGNAL(linkActivated(QString)), this, \
SLOT(showTitleExamples())); +
ui.m_compiledSourcesCheckBox->setChecked(
\
DrKonqi::systemInformation()->compiledSources());
@@ -437,6 +441,17 @@
}
+void BugzillaInformationPage::showTitleExamples()
+{
+ QString titleExamples = i18nc("@info:tooltip examples of good bug report \
titles", + "<strong>Examples of good titles:</strong><nl />\"Plasma crashed \
after adding the Notes " + "widget and writing on it\"<nl />\"Konqueror \
crashed when accessing the Facebook " + "application 'X'\"<nl />\"Kopete \
suddenly closed after resuming the computer and " + "talking to a MSN \
buddy\"<nl />\"Kate closed while editing a log file and pressing the " + \
"Delete key a couple of times\""); + QToolTip::showText(QCursor::pos(), \
titleExamples); +}
+
//END BugzillaInformationPage
//BEGIN BugzillaPreviewPage
--- trunk/KDE/kdebase/runtime/drkonqi/reportassistantpages_bugzilla.h \
#1053050:1053051 @@ -79,6 +79,8 @@
bool showNextPage();
private Q_SLOTS:
+ void showTitleExamples();
+
void checkTexts();
private:
--- trunk/KDE/kdebase/runtime/drkonqi/ui/assistantpage_bugzilla_information.ui \
#1053050:1053051 @@ -14,7 +14,7 @@
<item>
<widget class="QLabel" name="m_explanationLabel">
<property name="text">
- <string comment="@info/rich">Complete the bug report fields: <nl \
/><note>Use English.</note></string> + <string \
comment="@info/rich">Complete the bug report fields: <note>Use \
English.</note></string> </property>
<property name="wordWrap">
<bool>true</bool>
@@ -24,7 +24,7 @@
<item>
<widget class="QLabel" name="m_titleLabel">
<property name="text">
- <string comment="@label:textbox">Title of the bug report</string>
+ <string comment="@label:textbox"><strong>Title of the bug \
report:</strong> (<a href="#">examples</a>)</string> \
</property> </widget>
</item>
@@ -34,7 +34,7 @@
<item>
<widget class="QLabel" name="m_detailsLabel">
<property name="text">
- <string comment="@label:textbox">Details about the crash</string>
+ <string comment="@label:textbox"><strong>Information about the \
crash:</strong></string> </property>
</widget>
</item>
@@ -59,7 +59,7 @@
<item>
<widget class="QCheckBox" name="m_compiledSourcesCheckBox">
<property name="text">
- <string comment="@option:check">KDE compiled from sources</string>
+ <string comment="@option:check">KDE is compiled from sources</string>
</property>
</widget>
</item>
@@ -73,10 +73,13 @@
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Fixed</enum>
+ </property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
- <height>40</height>
+ <height>10</height>
</size>
</property>
</spacer>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic