From a3e54f76f4a67dba87d042c16771a1b09542ccc9 Mon Sep 17 00:00:00 2001 From: Nikita Baryshnikov Date: Thu, 2 Jul 2015 13:42:22 +0300 Subject: Debugger: Word wrap several action tooltips Change-Id: I87e8049869b3d10d205c2e25e7c1e83eb99a4407 Reviewed-by: hjk --- src/plugins/debugger/debuggersourcepathmappingwidget.cpp | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'src/plugins/debugger/debuggersourcepathmappingwidget.cpp') diff --git a/src/plugins/debugger/debuggersourcepathmappingwidget.cpp b/src/plugins/debugger/debuggersourcepathmappingwidget.cpp index fa8a81fb9b..4d0005555e 100644 --- a/src/plugins/debugger/debuggersourcepathmappingwidget.cpp +++ b/src/plugins/debugger/debuggersourcepathmappingwidget.cpp @@ -210,7 +210,7 @@ DebuggerSourcePathMappingWidget::DebuggerSourcePathMappingWidget(QWidget *parent m_targetChooser(new PathChooser(this)) { setTitle(tr("Source Paths Mapping")); - setToolTip(tr("

Mappings of source file folders to " + setToolTip(tr("

Mappings of source file folders to " "be used in the debugger can be entered here.

" "

This is useful when using a copy of the source tree " "at a location different from the one " @@ -220,8 +220,7 @@ DebuggerSourcePathMappingWidget::DebuggerSourcePathMappingWidget(QWidget *parent "open parenthesis, Qt Creator matches the paths in the ELF with the " "regular expression to automatically determine the source path.

" "

Example: (/home/.*/Project)/KnownSubDir -> D:\\Project will " - "substitute ELF built by any user to your local project directory.

" - "")); + "substitute ELF built by any user to your local project directory.

")); // Top list/left part. m_treeView->setRootIsDecorated(false); m_treeView->setUniformRowHeights(true); @@ -236,7 +235,7 @@ DebuggerSourcePathMappingWidget::DebuggerSourcePathMappingWidget(QWidget *parent buttonLayout->addWidget(m_addButton); buttonLayout->addWidget(m_addQtButton); m_addQtButton->setVisible(sizeof(qtBuildPaths) > 0); - m_addQtButton->setToolTip(tr("Add a mapping for Qt's source folders " + m_addQtButton->setToolTip(tr("

Add a mapping for Qt's source folders " "when using an unpatched version of Qt.")); buttonLayout->addWidget(m_removeButton); connect(m_addButton, &QAbstractButton::clicked, @@ -260,7 +259,7 @@ DebuggerSourcePathMappingWidget::DebuggerSourcePathMappingWidget(QWidget *parent connect(m_targetChooser, &PathChooser::changed, this, &DebuggerSourcePathMappingWidget::slotEditTargetFieldChanged); auto editLayout = new QFormLayout; - const QString sourceToolTip = tr("The source path contained in the " + const QString sourceToolTip = tr("

The source path contained in the " "debug information of the executable as reported by the debugger"); auto editSourceLabel = new QLabel(tr("&Source path:")); editSourceLabel->setToolTip(sourceToolTip); @@ -268,7 +267,7 @@ DebuggerSourcePathMappingWidget::DebuggerSourcePathMappingWidget(QWidget *parent editSourceLabel->setBuddy(m_sourceLineEdit); editLayout->addRow(editSourceLabel, m_sourceLineEdit); - const QString targetToolTip = tr("The actual location of the source " + const QString targetToolTip = tr("

The actual location of the source " "tree on the local machine"); auto editTargetLabel = new QLabel(tr("&Target path:")); editTargetLabel->setToolTip(targetToolTip); -- cgit v1.2.1