diff options
author | Nikita Baryshnikov <[email protected]> | 2015-07-02 13:42:22 +0300 |
---|---|---|
committer | hjk <[email protected]> | 2015-07-07 10:49:31 +0000 |
commit | a3e54f76f4a67dba87d042c16771a1b09542ccc9 (patch) | |
tree | a48139b4bf4b7a481156e80e27b3b200195f0296 /src/plugins/debugger/debuggeractions.cpp | |
parent | 508da18c24b1da892e595099428041f68b984fdb (diff) |
Debugger: Word wrap several action tooltips
Change-Id: I87e8049869b3d10d205c2e25e7c1e83eb99a4407
Reviewed-by: hjk <[email protected]>
Diffstat (limited to 'src/plugins/debugger/debuggeractions.cpp')
-rw-r--r-- | src/plugins/debugger/debuggeractions.cpp | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/src/plugins/debugger/debuggeractions.cpp b/src/plugins/debugger/debuggeractions.cpp index 481b011fd51..bd025d77a2f 100644 --- a/src/plugins/debugger/debuggeractions.cpp +++ b/src/plugins/debugger/debuggeractions.cpp @@ -177,7 +177,7 @@ DebuggerSettings::DebuggerSettings() item->setCheckable(true); item->setDefaultValue(false); item->setIcon(QIcon(QLatin1String(":/debugger/images/debugger_singleinstructionmode.png"))); - item->setToolTip(tr("This switches the debugger to instruction-wise " + item->setToolTip(tr("<p>This switches the debugger to instruction-wise " "operation mode. In this mode, stepping operates on single " "instructions and the source location view also shows the " "disassembled instructions.")); @@ -189,7 +189,7 @@ DebuggerSettings::DebuggerSettings() item->setCheckable(true); item->setDefaultValue(true); item->setIcon(QIcon(QLatin1String(Core::Constants::ICON_LINK))); - item->setToolTip(tr("This switches the debugger to native-mixed " + item->setToolTip(tr("<p>This switches the debugger to native-mixed " "operation mode. In this mode, stepping and data display will " "be handled by the native debugger backend (GDB, LLDB or CDB) " "for C++, QML and JS sources.")); @@ -201,7 +201,7 @@ DebuggerSettings::DebuggerSettings() item->setCheckable(true); item->setDefaultValue(true); item->setSettingsKey(debugModeGroup, QLatin1String("AutoDerefPointers")); - item->setToolTip(tr("This switches the Locals&&Watchers view to " + item->setToolTip(tr("<p>This switches the Locals&&Watchers view to " "automatically dereference pointers. This saves a level in the " "tree view, but also loses data for the now-missing intermediate " "level.")); @@ -262,7 +262,7 @@ DebuggerSettings::DebuggerSettings() item->setSettingsKey(debugModeGroup, QLatin1String("ShowStandardNamespace")); item->setText(tr("Show \"std::\" Namespace in Types")); item->setDialogText(tr("Show \"std::\" namespace in types")); - item->setToolTip(tr("Shows \"std::\" prefix for types from the standard library.")); + item->setToolTip(tr("<p>Shows \"std::\" prefix for types from the standard library.")); item->setCheckable(true); item->setDefaultValue(true); item->setValue(true); @@ -272,7 +272,7 @@ DebuggerSettings::DebuggerSettings() item->setSettingsKey(debugModeGroup, QLatin1String("ShowQtNamespace")); item->setText(tr("Show Qt's Namespace in Types")); item->setDialogText(tr("Show Qt's namespace in types")); - item->setToolTip(tr("Shows Qt namespace prefix for Qt types. This is only " + item->setToolTip(tr("<p>Shows Qt namespace prefix for Qt types. This is only " "relevant if Qt was configured with \"-qtnamespace\".")); item->setCheckable(true); item->setDefaultValue(true); @@ -302,7 +302,7 @@ DebuggerSettings::DebuggerSettings() item = new SavedAction(this); item->setSettingsKey(debugModeGroup, QLatin1String("UseCodeModel")); item->setDialogText(tr("Use code model")); - item->setToolTip(tr("Selecting this causes the C++ Code Model being asked " + item->setToolTip(tr("<p>Selecting this causes the C++ Code Model being asked " "for variable scope information. This might result in slightly faster " "debugger operation but may fail for optimized code.")); item->setCheckable(true); @@ -312,7 +312,7 @@ DebuggerSettings::DebuggerSettings() item = new SavedAction(this); item->setSettingsKey(debugModeGroup, QLatin1String("ShowThreadNames")); - item->setToolTip(tr("Displays names of QThread based threads.")); + item->setToolTip(tr("<p>Displays names of QThread based threads.")); item->setDialogText(tr("Display thread names")); item->setCheckable(true); item->setDefaultValue(false); @@ -329,7 +329,7 @@ DebuggerSettings::DebuggerSettings() item = new SavedAction(this); item->setText(tr("Adjust Breakpoint Locations")); - item->setToolTip(tr("Not all source code lines generate " + item->setToolTip(tr("<p>Not all source code lines generate " "executable code. Putting a breakpoint on such a line acts as " "if the breakpoint was set on the next line that generated code. " "Selecting 'Adjust Breakpoint Locations' shifts the red " @@ -514,7 +514,7 @@ DebuggerSettings::DebuggerSettings() item = new SavedAction(this); item->setSettingsKey(debugModeGroup, QLatin1String("UseToolTips")); item->setText(tr("Use tooltips in main editor when debugging")); - item->setToolTip(tr("Checking this will enable tooltips for variable " + item->setToolTip(tr("<p>Checking this will enable tooltips for variable " "values during debugging. Since this can slow down debugging and " "does not provide reliable information as it does not use scope " "information, it is switched off by default.")); @@ -525,7 +525,7 @@ DebuggerSettings::DebuggerSettings() item = new SavedAction(this); item->setSettingsKey(debugModeGroup, QLatin1String("UseToolTipsInLocalsView")); item->setText(tr("Use Tooltips in Locals View when Debugging")); - item->setToolTip(tr("Checking this will enable tooltips in the locals " + item->setToolTip(tr("<p>Checking this will enable tooltips in the locals " "view during debugging.")); item->setCheckable(true); item->setDefaultValue(false); @@ -534,7 +534,7 @@ DebuggerSettings::DebuggerSettings() item = new SavedAction(this); item->setSettingsKey(debugModeGroup, QLatin1String("UseToolTipsInBreakpointsView")); item->setText(tr("Use Tooltips in Breakpoints View when Debugging")); - item->setToolTip(tr("Checking this will enable tooltips in the breakpoints " + item->setToolTip(tr("<p>Checking this will enable tooltips in the breakpoints " "view during debugging.")); item->setCheckable(true); item->setDefaultValue(false); @@ -543,7 +543,7 @@ DebuggerSettings::DebuggerSettings() item = new SavedAction(this); item->setSettingsKey(debugModeGroup, QLatin1String("UseToolTipsInBreakpointsView")); item->setText(tr("Use Tooltips in Stack View when Debugging")); - item->setToolTip(tr("Checking this will enable tooltips in the stack " + item->setToolTip(tr("<p>Checking this will enable tooltips in the stack " "view during debugging.")); item->setCheckable(true); item->setDefaultValue(true); @@ -552,7 +552,7 @@ DebuggerSettings::DebuggerSettings() item = new SavedAction(this); item->setSettingsKey(debugModeGroup, QLatin1String("UseAddressInBreakpointsView")); item->setText(tr("Show Address Data in Breakpoints View when Debugging")); - item->setToolTip(tr("Checking this will show a column with address " + item->setToolTip(tr("<p>Checking this will show a column with address " "information in the breakpoint view during debugging.")); item->setCheckable(true); item->setDefaultValue(false); @@ -561,7 +561,7 @@ DebuggerSettings::DebuggerSettings() item = new SavedAction(this); item->setSettingsKey(debugModeGroup, QLatin1String("UseAddressInStackView")); item->setText(tr("Show Address Data in Stack View when Debugging")); - item->setToolTip(tr("Checking this will show a column with address " + item->setToolTip(tr("<p>Checking this will show a column with address " "information in the stack view during debugging.")); item->setCheckable(true); item->setDefaultValue(false); @@ -624,7 +624,7 @@ DebuggerSettings::DebuggerSettings() item = new SavedAction(this); item->setSettingsKey(debugModeGroup, QLatin1String("DisplayStringLimit")); - item->setToolTip(tr("The maximum length of string entries in the " + item->setToolTip(tr("<p>The maximum length of string entries in the " "Locals and Expressions pane. Longer than that are cut off " "and displayed with an ellipsis attached.")); item->setDefaultValue(100); @@ -632,7 +632,7 @@ DebuggerSettings::DebuggerSettings() item = new SavedAction(this); item->setSettingsKey(debugModeGroup, QLatin1String("MaximalStringLength")); - item->setToolTip(tr("The maximum length for strings in separated windows. " + item->setToolTip(tr("<p>The maximum length for strings in separated windows. " "Longer strings are cut off and displayed with an ellipsis attached.")); item->setDefaultValue(10000); insertItem(MaximalStringLength, item); |