From 6f2cc3a32edc8667e520fd841158e772f1d68d17 Mon Sep 17 00:00:00 2001
From: hjk
Date: Wed, 15 Aug 2012 16:47:16 +0200
Subject: [PATCH] debugger: improve wording of tooltips
Change-Id: Ie1d91eaf9942f82c03e2bc00215522ecc98b2887
Reviewed-by: Leena Miettinen
---
src/plugins/debugger/gdb/gdboptionspage.cpp | 35 ++++++++++-----------
1 file changed, 17 insertions(+), 18 deletions(-)
diff --git a/src/plugins/debugger/gdb/gdboptionspage.cpp b/src/plugins/debugger/gdb/gdboptionspage.cpp
index bcc4c84ca5c..2e0b4cb756e 100644
--- a/src/plugins/debugger/gdb/gdboptionspage.cpp
+++ b/src/plugins/debugger/gdb/gdboptionspage.cpp
@@ -100,11 +100,11 @@ GdbOptionsPagePrivate::GdbOptionsPagePrivate(QWidget *parent)
labelGdbWatchdogTimeout = new QLabel(groupBoxGeneral);
labelGdbWatchdogTimeout->setText(GdbOptionsPage::tr("GDB timeout:"));
labelGdbWatchdogTimeout->setToolTip(GdbOptionsPage::tr(
- "This is the number of seconds Qt Creator will wait before\n"
- "it terminates a non-responsive GDB process. The default value of 20 seconds\n"
- "should be sufficient for most applications, but there are situations when\n"
- "loading big libraries or listing source files takes much longer than that\n"
- "on slow machines. In this case, the value should be increased."));
+ "The number of seconds Qt Creator will wait before it terminates\n"
+ "a non-responsive GDB process. The default value of 20 seconds should\n"
+ "be sufficient for most applications, but there are situations when\n"
+ "loading big libraries or listing source files takes much longer than\n"
+ "that on slow machines. In this case, the value should be increased."));
spinBoxGdbWatchdogTimeout = new QSpinBox(groupBoxGeneral);
spinBoxGdbWatchdogTimeout->setToolTip(labelGdbWatchdogTimeout->toolTip());
@@ -128,7 +128,7 @@ GdbOptionsPagePrivate::GdbOptionsPagePrivate(QWidget *parent)
checkBoxUseMessageBoxForSignals->setText(GdbOptionsPage::tr(
"Show a message box when receiving a signal"));
checkBoxUseMessageBoxForSignals->setToolTip(GdbOptionsPage::tr(
- "This will show a message box as soon as your application\n"
+ "Displays a message box as soon as your application\n"
"receives a signal like SIGSEGV during debugging."));
checkBoxAdjustBreakpointLocations = new QCheckBox(groupBoxGeneral);
@@ -145,13 +145,13 @@ GdbOptionsPagePrivate::GdbOptionsPagePrivate(QWidget *parent)
checkBoxUseDynamicType->setText(GdbOptionsPage::tr(
"Use dynamic object type for display"));
checkBoxUseDynamicType->setToolTip(GdbOptionsPage::tr(
- "This specifies whether the dynamic or the static type of objects will be"
+ "Specifies whether the dynamic or the static type of objects will be"
"displayed. Choosing the dynamic type might be slower."));
checkBoxLoadGdbInit = new QCheckBox(groupBoxGeneral);
checkBoxLoadGdbInit->setText(GdbOptionsPage::tr("Load .gdbinit file on startup"));
checkBoxLoadGdbInit->setToolTip(GdbOptionsPage::tr(
- "This allows or inhibits reading the user's default\n"
+ "Allows or inhibits reading the user's default\n"
".gdbinit file on debugger startup."));
checkBoxWarnOnReleaseBuilds = new QCheckBox(groupBoxGeneral);
@@ -164,7 +164,7 @@ GdbOptionsPagePrivate::GdbOptionsPagePrivate(QWidget *parent)
labelDangerous = new QLabel(GdbOptionsPage::tr(
"The options below should be used with care."));
labelDangerous->setToolTip(GdbOptionsPage::tr(
- "This options below give access to advanced or "
+ "
The options below give access to advanced "
"or experimental functions of GDB. Enabling them may negatively "
"impact your debugging experience."));
@@ -176,32 +176,32 @@ GdbOptionsPagePrivate::GdbOptionsPagePrivate(QWidget *parent)
checkBoxAutoEnrichParameters->setText(GdbOptionsPage::tr(
"Use common locations for debug information"));
checkBoxAutoEnrichParameters->setToolTip(GdbOptionsPage::tr(
- "This adds common paths to locations "
+ "Add common paths to locations "
"of debug information such as /usr/src/debug "
"when starting GDB."));
checkBoxBreakOnWarning = new QCheckBox(groupBoxGeneral);
checkBoxBreakOnWarning->setText(GdbOptionsPage::tr("Stop when qWarning() is called"));
checkBoxBreakOnWarning->setToolTip(GdbOptionsPage::tr(
- "This adds a breakpoint on the qWarning() function."
+ "Always add a breakpoint on the qWarning() function."
""));
checkBoxBreakOnFatal = new QCheckBox(groupBoxGeneral);
checkBoxBreakOnFatal->setText(GdbOptionsPage::tr("Stop when qFatal() is called"));
checkBoxBreakOnFatal->setToolTip(GdbOptionsPage::tr(
- "This adds a breakpoint on the qFatal() function."
+ "Always add a breakpoint on the qFatal() function."
"/body>"));
checkBoxBreakOnAbort = new QCheckBox(groupBoxGeneral);
checkBoxBreakOnAbort->setText(GdbOptionsPage::tr("Stop when abort() is called"));
checkBoxBreakOnAbort->setToolTip(GdbOptionsPage::tr(
- "This adds a breakpoint on the abort() function."
+ "
Always add a breakpoint on the abort() function."
"
"));
checkBoxEnableReverseDebugging = new QCheckBox(groupBoxGeneral);
checkBoxEnableReverseDebugging->setText(GdbOptionsPage::tr("Enable reverse debugging"));
checkBoxEnableReverseDebugging->setToolTip(GdbOptionsPage::tr(
- "Selecting this enables reverse debugging.
<.p>"
+ "Enable stepping backwards.
<.p>"
"Note: This feature is very slow and unstable on the GDB side. "
"It exhibits unpredictable behavior when going backwards over system "
"calls and is very likely to destroy your debugging session."));
@@ -209,10 +209,9 @@ GdbOptionsPagePrivate::GdbOptionsPagePrivate(QWidget *parent)
checkBoxAttemptQuickStart = new QCheckBox(groupBoxGeneral);
checkBoxAttemptQuickStart->setText(GdbOptionsPage::tr("Attempt quick start"));
checkBoxAttemptQuickStart->setToolTip(GdbOptionsPage::tr(
- "Checking this option "
- "will postpone reading debug information as long as possible. This can result "
- "in faster startup times at the price of not being able to set breakpoints "
- "by file and number."));
+ "Postpone reading debug information as long as possible. "
+ "This can result in faster startup times at the price of not being able to "
+ "set breakpoints by file and number."));
groupBoxStartupCommands = new QGroupBox(this);
groupBoxStartupCommands->setTitle(GdbOptionsPage::tr("Additional Startup Commands"));