Fix tooltips, add lacking dots

Change-Id: Id54a11b6868d5033fd1ecfd6324b7e50b94e305c
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
This commit is contained in:
Jarek Kobus
2014-03-13 09:55:53 +01:00
parent 402ea02821
commit 96a3fd53e8
41 changed files with 102 additions and 105 deletions

View File

@@ -75,35 +75,35 @@ void PluginErrorView::update(PluginSpec *spec)
switch (spec->state()) {
case PluginSpec::Invalid:
text = tr("Invalid");
tooltip = tr("Description file found, but error on read");
tooltip = tr("Description file found, but error on read.");
break;
case PluginSpec::Read:
text = tr("Read");
tooltip = tr("Description successfully read");
tooltip = tr("Description successfully read.");
break;
case PluginSpec::Resolved:
text = tr("Resolved");
tooltip = tr("Dependencies are successfully resolved");
tooltip = tr("Dependencies are successfully resolved.");
break;
case PluginSpec::Loaded:
text = tr("Loaded");
tooltip = tr("Library is loaded");
tooltip = tr("Library is loaded.");
break;
case PluginSpec::Initialized:
text = tr("Initialized");
tooltip = tr("Plugin's initialization function succeeded");
tooltip = tr("Plugin's initialization function succeeded.");
break;
case PluginSpec::Running:
text = tr("Running");
tooltip = tr("Plugin successfully loaded and running");
tooltip = tr("Plugin successfully loaded and running.");
break;
case PluginSpec::Stopped:
text = tr("Stopped");
tooltip = tr("Plugin was shut down");
tooltip = tr("Plugin was shut down.");
break;
case PluginSpec::Deleted:
text = tr("Deleted");
tooltip = tr("Plugin ended its life cycle and was deleted");
tooltip = tr("Plugin ended its life cycle and was deleted.");
break;
}

View File

@@ -84,7 +84,7 @@ ContextPaneWidgetImage::ContextPaneWidgetImage(QWidget *parent, bool borderImage
uiBorderImage->setupUi(this);
m_fileWidget = uiBorderImage->fileWidget;
m_sizeLabel = uiBorderImage->sizeLabel;
uiBorderImage->label->setToolTip(tr("double click for preview"));
uiBorderImage->label->setToolTip(tr("Double click for preview."));
uiBorderImage->label->installEventFilter(labelFilter);
@@ -103,7 +103,7 @@ ContextPaneWidgetImage::ContextPaneWidgetImage(QWidget *parent, bool borderImage
} else {
ui = new Ui::ContextPaneWidgetImage;
ui->setupUi(this);
ui->label->setToolTip(tr("double click for preview"));
ui->label->setToolTip(tr("Double click for preview."));
ui->label->installEventFilter(labelFilter);
m_fileWidget = ui->fileWidget;
m_sizeLabel = ui->sizeLabel;

View File

@@ -57,7 +57,7 @@
<item row="1" column="1">
<widget class="QRadioButton" name="stretchRadioButton">
<property name="toolTip">
<string>The image is scaled to fit</string>
<string>The image is scaled to fit.</string>
</property>
<property name="text">
<string/>
@@ -77,7 +77,7 @@
<item row="1" column="2">
<widget class="QRadioButton" name="horizontalStretchRadioButton">
<property name="toolTip">
<string>The image is stretched horizontally and tiled vertically</string>
<string>The image is stretched horizontally and tiled vertically.</string>
</property>
<property name="text">
<string/>
@@ -97,7 +97,7 @@
<item row="1" column="3">
<widget class="QRadioButton" name="verticalStretchRadioButton">
<property name="toolTip">
<string>The image is stretched vertically and tiled horizontally</string>
<string>The image is stretched vertically and tiled horizontally.</string>
</property>
<property name="text">
<string/>
@@ -117,7 +117,7 @@
<item row="2" column="1">
<widget class="QRadioButton" name="tileRadioButton">
<property name="toolTip">
<string>The image is duplicated horizontally and vertically</string>
<string>The image is duplicated horizontally and vertically.</string>
</property>
<property name="text">
<string/>
@@ -137,7 +137,7 @@
<item row="2" column="2">
<widget class="QRadioButton" name="preserveAspectFitRadioButton">
<property name="toolTip">
<string>The image is scaled uniformly to fit without cropping</string>
<string>The image is scaled uniformly to fit without cropping.</string>
</property>
<property name="text">
<string/>
@@ -157,7 +157,7 @@
<item row="2" column="3">
<widget class="QRadioButton" name="cropAspectFitRadioButton">
<property name="toolTip">
<string>The image is scaled uniformly to fill, cropping if necessary</string>
<string>The image is scaled uniformly to fill, cropping if necessary.</string>
</property>
<property name="text">
<string/>

View File

@@ -54,7 +54,7 @@
</size>
</property>
<property name="toolTip">
<string>Play simulation</string>
<string>Play simulation.</string>
</property>
</widget>
</item>
@@ -83,7 +83,7 @@
</size>
</property>
<property name="toolTip">
<string>Type of easing curve</string>
<string>Type of easing curve.</string>
</property>
<item>
<property name="text">
@@ -164,7 +164,7 @@
</sizepolicy>
</property>
<property name="toolTip">
<string>Acceleration or deceleration of easing curve</string>
<string>Acceleration or deceleration of easing curve.</string>
</property>
<item>
<property name="text">
@@ -207,7 +207,7 @@
</size>
</property>
<property name="toolTip">
<string>Duration of animation</string>
<string>Duration of animation.</string>
</property>
<property name="specialValueText">
<string>INVALID</string>
@@ -251,7 +251,7 @@
</size>
</property>
<property name="toolTip">
<string>Amplitude of elastic and bounce easing curves</string>
<string>Amplitude of elastic and bounce easing curves.</string>
</property>
<property name="specialValueText">
<string>INVALID</string>
@@ -292,7 +292,7 @@
</size>
</property>
<property name="toolTip">
<string>Easing period of an elastic curve</string>
<string>Easing period of an elastic curve.</string>
</property>
<property name="specialValueText">
<string>INVALID</string>
@@ -333,7 +333,7 @@
</size>
</property>
<property name="toolTip">
<string>Easing overshoot for a back curve</string>
<string>Easing overshoot for a back curve.</string>
</property>
<property name="specialValueText">
<string>INVALID</string>

View File

@@ -248,7 +248,7 @@
<item>
<widget class="QRadioButton" name="ministroOption">
<property name="toolTip">
<string>Use the external Ministro application to download and maintain Qt libraries.</string>
<string>Uses the external Ministro application to download and maintain Qt libraries.</string>
</property>
<property name="text">
<string>Use Ministro service to install Qt</string>
@@ -261,7 +261,7 @@
<item>
<widget class="QRadioButton" name="temporaryQtOption">
<property name="toolTip">
<string>Push local Qt libraries to device. You must have Qt libraries compiled for that platform.
<string>Pushes local Qt libraries to device. You must have Qt libraries compiled for that platform.
The APK will not be usable on any other device.</string>
</property>
<property name="text">

View File

@@ -29,7 +29,7 @@
<item>
<widget class="QRadioButton" name="ministroOption">
<property name="toolTip">
<string>Use the external Ministro application to download and maintain Qt libraries.</string>
<string>Uses the external Ministro application to download and maintain Qt libraries.</string>
</property>
<property name="text">
<string>Use Ministro service to install Qt</string>
@@ -42,7 +42,7 @@
<item>
<widget class="QRadioButton" name="temporaryQtOption">
<property name="toolTip">
<string>Push local Qt libraries to device. You must have Qt libraries compiled for that platform.
<string>Pushes local Qt libraries to device. You must have Qt libraries compiled for that platform.
The APK will not be usable on any other device.</string>
</property>
<property name="text">

View File

@@ -45,7 +45,7 @@
<item row="0" column="0" colspan="2">
<widget class="QPushButton" name="readInfoPushButton">
<property name="toolTip">
<string>Automatically check required Qt libraries from compiled application</string>
<string>Automatically check required Qt libraries from compiled application.</string>
</property>
<property name="text">
<string>Read information from application (must be compiled)</string>

View File

@@ -37,7 +37,7 @@
<item row="2" column="1">
<widget class="QCheckBox" name="isLocalCheckBox">
<property name="toolTip">
<string>Perform a local commit in a bound branch.
<string>Performs a local commit in a bound branch.
Local commits are not pushed to the master branch until a normal commit is performed.</string>
</property>
<property name="text">

View File

@@ -49,7 +49,7 @@ This flag will allow branch to proceed.</string>
<item row="1" column="0" colspan="2">
<widget class="QCheckBox" name="stackedCheckBox">
<property name="toolTip">
<string>Create a stacked branch referring to the source branch.
<string>Creates a stacked branch referring to the source branch.
The new branch will depend on the availability of the source branch for all operations.</string>
</property>
<property name="text">
@@ -60,7 +60,7 @@ The new branch will depend on the availability of the source branch for all oper
<item row="2" column="0" colspan="2">
<widget class="QCheckBox" name="standAloneCheckBox">
<property name="toolTip">
<string>Do not use a shared repository, even if available.</string>
<string>Does not use a shared repository, even if available.</string>
</property>
<property name="text">
<string>Standalone</string>
@@ -77,7 +77,7 @@ The new branch will depend on the availability of the source branch for all oper
<item row="4" column="0" colspan="2">
<widget class="QCheckBox" name="switchCheckBox">
<property name="toolTip">
<string>Switch the checkout in the current directory to the new branch.</string>
<string>Switches the checkout in the current directory to the new branch.</string>
</property>
<property name="text">
<string>Switch checkout</string>
@@ -87,7 +87,7 @@ The new branch will depend on the availability of the source branch for all oper
<item row="5" column="0" colspan="2">
<widget class="QCheckBox" name="hardlinkCheckBox">
<property name="toolTip">
<string>Hard-link working tree files where possible.</string>
<string>Hard-links working tree files where possible.</string>
</property>
<property name="text">
<string>Hardlink</string>
@@ -97,7 +97,7 @@ The new branch will depend on the availability of the source branch for all oper
<item row="6" column="0" colspan="2">
<widget class="QCheckBox" name="noTreeCheckBox">
<property name="toolTip">
<string>Create a branch without a working-tree.</string>
<string>Creates a branch without a working-tree.</string>
</property>
<property name="text">
<string>No working-tree</string>

View File

@@ -47,7 +47,7 @@
<item row="2" column="0">
<widget class="QRadioButton" name="urlButton">
<property name="toolTip">
<string>For example: https://[user[:pass]@]host[:port]/[path]</string>
<string>For example: 'https://[user[:pass]@]host[:port]/[path]'.</string>
</property>
<property name="text">
<string>Specify URL:</string>
@@ -60,7 +60,7 @@
<bool>false</bool>
</property>
<property name="toolTip">
<string>For example: https://[user[:pass]@]host[:port]/[path]</string>
<string>For example: 'https://[user[:pass]@]host[:port]/[path]'.</string>
</property>
</widget>
</item>
@@ -86,7 +86,7 @@
<item row="1" column="0" colspan="2">
<widget class="QCheckBox" name="overwriteCheckBox">
<property name="toolTip">
<string>Ignore differences between branches and overwrite
<string>Ignores differences between branches and overwrites
unconditionally.</string>
</property>
<property name="text">
@@ -108,7 +108,7 @@ This flag will allow push to proceed.</string>
<item row="4" column="0" colspan="2">
<widget class="QCheckBox" name="createPrefixCheckBox">
<property name="toolTip">
<string>Create the path leading up to the branch if it does not already exist.</string>
<string>Creates the path leading up to the branch if it does not already exist.</string>
</property>
<property name="text">
<string>Create prefix</string>
@@ -128,7 +128,7 @@ This flag will allow push to proceed.</string>
<item row="2" column="0" colspan="2">
<widget class="QCheckBox" name="localCheckBox">
<property name="toolTip">
<string>Perform a local pull in a bound branch.
<string>Performs a local pull in a bound branch.
Local pulls are not applied to the master branch.</string>
</property>
<property name="text">

View File

@@ -193,7 +193,7 @@
<item row="5" column="0">
<widget class="QCheckBox" name="autoAssignActivityCheckBox">
<property name="toolTip">
<string>Check this if you have a trigger that renames the activity automatically. You will not be prompted for activity name</string>
<string>Check this if you have a trigger that renames the activity automatically. You will not be prompted for activity name.</string>
</property>
<property name="text">
<string>Aut&amp;o assign activity names</string>
@@ -227,7 +227,7 @@
<item row="9" column="1">
<widget class="QLineEdit" name="indexOnlyVOBsEdit">
<property name="toolTip">
<string>VOBs list, separated by comma. Indexer will only traverse the specified VOBs. If left blank, all active VOBs will be indexed</string>
<string>VOBs list, separated by comma. Indexer will only traverse the specified VOBs. If left blank, all active VOBs will be indexed.</string>
</property>
</widget>
</item>

View File

@@ -260,7 +260,7 @@ CMakeRunConfigurationWidget::CMakeRunConfigurationWidget(CMakeRunConfiguration *
m_workingDirectoryEdit->setPromptDialogTitle(tr("Select Working Directory"));
QToolButton *resetButton = new QToolButton();
resetButton->setToolTip(tr("Reset to default"));
resetButton->setToolTip(tr("Reset to default."));
resetButton->setIcon(QIcon(QLatin1String(Core::Constants::ICON_RESET)));
QHBoxLayout *boxlayout = new QHBoxLayout();

View File

@@ -37,7 +37,7 @@
<item>
<widget class="QPushButton" name="addButton">
<property name="toolTip">
<string>Add tool</string>
<string>Add tool.</string>
</property>
<property name="text">
<string>Add</string>
@@ -47,7 +47,7 @@
<item>
<widget class="QPushButton" name="removeButton">
<property name="toolTip">
<string>Remove tool</string>
<string>Remove tool.</string>
</property>
<property name="text">
<string>Remove</string>
@@ -70,7 +70,7 @@
<item>
<widget class="QPushButton" name="revertButton">
<property name="toolTip">
<string>Revert tool to default</string>
<string>Revert tool to default.</string>
</property>
<property name="text">
<string>Reset</string>
@@ -149,7 +149,7 @@
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;
&lt;p&gt;What to do with the executable's standard output.
&lt;ul&gt;&lt;li&gt;Ignore: Do nothing with it&lt;/li&gt;&lt;li&gt;Show in pane: Show it in the general output pane&lt;/li&gt;&lt;li&gt;Replace selection: Replace the current selection in the current document with it&lt;/li&gt;&lt;/ul&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;
&lt;ul&gt;&lt;li&gt;Ignore: Do nothing with it.&lt;/li&gt;&lt;li&gt;Show in pane: Show it in the general output pane.&lt;/li&gt;&lt;li&gt;Replace selection: Replace the current selection in the current document with it.&lt;/li&gt;&lt;/ul&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;
</string>
</property>
<property name="text">
@@ -181,9 +181,9 @@
<property name="toolTip">
<string>&lt;html&gt;&lt;head&gt;&lt;body&gt;
&lt;p &gt;What to do with the executable's standard error output.&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;Ignore: Do nothing with it&lt;/li&gt;
&lt;li&gt;Show in pane: Show it in the general output pane&lt;/li&gt;
&lt;li&gt;Replace selection: Replace the current selection in the current document with it&lt;/li&gt;
&lt;ul&gt;&lt;li&gt;Ignore: Do nothing with it.&lt;/li&gt;
&lt;li&gt;Show in pane: Show it in the general output pane.&lt;/li&gt;
&lt;li&gt;Replace selection: Replace the current selection in the current document with it.&lt;/li&gt;
&lt;/ul&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text">

View File

@@ -232,7 +232,7 @@
<item>
<widget class="QCheckBox" name="autoSaveCheckBox">
<property name="toolTip">
<string>Automatically create temporary copies of modified files. If Qt Creator is restarted after a crash or power failure, it asks whether to recover the auto-saved content.</string>
<string>Automatically creates temporary copies of modified files. If Qt Creator is restarted after a crash or power failure, it asks whether to recover the auto-saved content.</string>
</property>
<property name="text">
<string>Auto-save modified files</string>

View File

@@ -205,7 +205,7 @@
<item>
<widget class="QCheckBox" name="enableDoxygenCheckBox">
<property name="toolTip">
<string>Automatically creates a Doxygen comment upon pressing enter after a /**, /*!, //! or ///</string>
<string>Automatically creates a Doxygen comment upon pressing enter after a '/**', '/*!', '//!' or '///'.</string>
</property>
<property name="text">
<string>Enable Doxygen blocks</string>
@@ -245,7 +245,7 @@
<item>
<widget class="QCheckBox" name="leadingAsterisksCheckBox">
<property name="toolTip">
<string>Adds leading asterisks when continuing Qt (/*!) and Java (/**) style comments on new lines.</string>
<string>Adds leading asterisks when continuing Qt '/*!' and Java '/**' style comments on new lines.</string>
</property>
<property name="text">
<string>Add leading asterisks</string>

View File

@@ -44,7 +44,7 @@
<item row="1" column="0" colspan="2">
<widget class="QCheckBox" name="consoleCheckBox">
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Use CDB's native console instead of Qt Creator's console for console applications. The native console does not prompt on application exit. It is suitable for diagnosing cases in which the application does not start up properly in Qt Creator's console and the subsequent attach fails.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Uses CDB's native console instead of Qt Creator's console for console applications. The native console does not prompt on application exit. It is suitable for diagnosing cases in which the application does not start up properly in Qt Creator's console and the subsequent attach fails.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text">
<string>Use CDB &amp;console</string>
@@ -82,7 +82,7 @@
<item>
<widget class="QCheckBox" name="breakpointCorrectionCheckBox">
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Attempt to correct the location of a breakpoint based on file and line number should it be in a comment or in a line for which no code is generated. The correction is based on the code model.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Attempts to correct the location of a breakpoint based on file and line number should it be in a comment or in a line for which no code is generated. The correction is based on the code model.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text">
<string>Correct breakpoint location</string>

View File

@@ -58,14 +58,14 @@ CommonOptionsPageWidget::CommonOptionsPageWidget
checkBoxUseAlternatingRowColors->setText(tr("Use alternating row colors in debug views"));
checkBoxFontSizeFollowsEditor = new QCheckBox(behaviorBox);
checkBoxFontSizeFollowsEditor->setToolTip(tr("Change the font size in the debugger views when the font size in the main editor changes."));
checkBoxFontSizeFollowsEditor->setToolTip(tr("Changes the font size in the debugger views when the font size in the main editor changes."));
checkBoxFontSizeFollowsEditor->setText(tr("Debugger font size follows main editor"));
checkBoxUseToolTipsInMainEditor = new QCheckBox(behaviorBox);
checkBoxUseToolTipsInMainEditor->setText(tr("Use tooltips in main editor while debugging"));
checkBoxListSourceFiles = new QCheckBox(behaviorBox);
checkBoxListSourceFiles->setToolTip(tr("Populate the source file view automatically. This might slow down debugger startup considerably."));
checkBoxListSourceFiles->setToolTip(tr("Populates the source file view automatically. This might slow down debugger startup considerably."));
checkBoxListSourceFiles->setText(tr("Populate source file view automatically"));
checkBoxCloseBuffersOnExit = new QCheckBox(behaviorBox);
@@ -82,20 +82,20 @@ CommonOptionsPageWidget::CommonOptionsPageWidget
checkBoxBringToForegroundOnInterrrupt->setText(tr("Bring Qt Creator to foreground when application interrupts"));
checkBoxShowQmlObjectTree = new QCheckBox(behaviorBox);
checkBoxShowQmlObjectTree->setToolTip(tr("Show QML object tree in Locals & Expressions when connected and not stepping."));
checkBoxShowQmlObjectTree->setToolTip(tr("Shows QML object tree in Locals & Expressions when connected and not stepping."));
checkBoxShowQmlObjectTree->setText(tr("Show QML object tree"));
checkBoxBreakpointsFullPath = new QCheckBox(behaviorBox);
checkBoxBreakpointsFullPath->setToolTip(tr("Enable a full file path in breakpoints by default also for GDB."));
checkBoxBreakpointsFullPath->setToolTip(tr("Enables a full file path in breakpoints by default also for GDB."));
checkBoxBreakpointsFullPath->setText(tr("Set breakpoints using a full absolute path"));
checkBoxRegisterForPostMortem = new QCheckBox(behaviorBox);
checkBoxRegisterForPostMortem->setToolTip(tr("Register Qt Creator for debugging crashed applications."));
checkBoxRegisterForPostMortem->setToolTip(tr("Registers Qt Creator for debugging crashed applications."));
checkBoxRegisterForPostMortem->setText(tr("Use Qt Creator for post-mortem debugging"));
checkBoxWarnOnReleaseBuilds = new QCheckBox(behaviorBox);
checkBoxWarnOnReleaseBuilds->setText(tr("Warn when debugging \"Release\" builds"));
checkBoxWarnOnReleaseBuilds->setToolTip(tr("Show a warning when starting the debugger "
checkBoxWarnOnReleaseBuilds->setToolTip(tr("Shows a warning when starting the debugger "
"on a binary with insufficient debug information."));
labelMaximalStackDepth = new QLabel(tr("Maximum stack depth:"), behaviorBox);

View File

@@ -152,7 +152,7 @@ GdbOptionsPageWidget::GdbOptionsPageWidget(QWidget *parent)
checkBoxLoadGdbDumpers->setText(GdbOptionsPage::tr("Load system GDB pretty printers"));
checkBoxLoadGdbDumpers->setToolTip(GdbOptionsPage::tr(
"Uses the default GDB pretty printers installed in your "
"system or linked to the libraries your application uses.\n"));
"system or linked to the libraries your application uses."));
checkBoxIntelFlavor = new QCheckBox(groupBoxGeneral);
checkBoxIntelFlavor->setText(GdbOptionsPage::tr("Use Intel style disassembly"));

View File

@@ -187,7 +187,7 @@
<item>
<widget class="QLabel" name="labelTabulator">
<property name="toolTip">
<string>Vim tabstop option</string>
<string>Vim tabstop option.</string>
</property>
<property name="text">
<string>Tabulator size:</string>

View File

@@ -173,7 +173,7 @@
<item>
<widget class="QPushButton" name="trackButton">
<property name="toolTip">
<string>Sets current branch to track the selected one.</string>
<string>Set current branch to track the selected one.</string>
</property>
<property name="text">
<string>&amp;Track</string>

View File

@@ -268,7 +268,7 @@
<item>
<widget class="QPushButton" name="defaultPageButton">
<property name="toolTip">
<string>Reset to default</string>
<string>Reset to default.</string>
</property>
<property name="text">
<string>Reset</string>
@@ -291,7 +291,7 @@
<item>
<widget class="QCheckBox" name="m_returnOnClose">
<property name="toolTip">
<string>Switch to editor context after last help page is closed.</string>
<string>Switches to editor context after last help page is closed.</string>
</property>
<property name="text">
<string>Return to editor on closing the last page</string>

View File

@@ -36,7 +36,7 @@
<item row="2" column="0">
<widget class="QRadioButton" name="urlButton">
<property name="toolTip">
<string>e.g. https://[user[:pass]@]host[:port]/[path]</string>
<string>For example: 'https://[user[:pass]@]host[:port]/[path]'.</string>
</property>
<property name="text">
<string>Specify URL:</string>
@@ -56,7 +56,7 @@
<bool>false</bool>
</property>
<property name="toolTip">
<string>e.g. https://[user[:pass]@]host[:port]/[path]</string>
<string>For example: 'https://[user[:pass]@]host[:port]/[path]'.</string>
</property>
</widget>
</item>

View File

@@ -495,7 +495,7 @@ CustomToolChainConfigWidget::CustomToolChainConfigWidget(CustomToolChain *tc) :
QHBoxLayout *parserLayout = new QHBoxLayout(parserLayoutWidget);
parserLayout->setContentsMargins(0, 0, 0, 0);
m_predefinedMacros->setTabChangesFocus(true);
m_predefinedMacros->setToolTip(tr("Each line defines a macro. Format is MACRO[=VALUE]"));
m_predefinedMacros->setToolTip(tr("Each line defines a macro. Format is MACRO[=VALUE]."));
m_headerPaths->setTabChangesFocus(true);
m_headerPaths->setToolTip(tr("Each line adds a global header lookup path."));
m_cxx11Flags->setToolTip(tr("Comma-separated list of flags that turn on C++11 support."));

View File

@@ -175,7 +175,7 @@
<item row="6" column="0">
<widget class="QCheckBox" name="promptToStopRunControlCheckBox">
<property name="toolTip">
<string>Ask before terminating the running application in response to clicking the stop button in Application Output.</string>
<string>Asks before terminating the running application in response to clicking the stop button in Application Output.</string>
</property>
<property name="text">
<string>Always ask before stopping applications</string>

View File

@@ -44,7 +44,7 @@ void RemoveTaskHandler::handle(const ProjectExplorer::Task &task)
QAction *RemoveTaskHandler::createAction(QObject *parent) const
{
QAction *removeAction = new QAction(tr("Remove", "Name of the action triggering the removetaskhandler"), parent);
removeAction->setToolTip(tr("Remove task from the task list"));
removeAction->setToolTip(tr("Remove task from the task list."));
removeAction->setShortcut(QKeySequence(QKeySequence::Delete));
removeAction->setShortcutContext(Qt::WidgetWithChildrenShortcut);
return removeAction;

View File

@@ -88,7 +88,7 @@
<item row="1" column="0">
<widget class="QCheckBox" name="autoLoadCheckBox">
<property name="toolTip">
<string>Automatically restore the last session when Qt Creator is started.</string>
<string>Automatically restores the last session when Qt Creator is started.</string>
</property>
<property name="text">
<string>Restore last session on startup</string>

View File

@@ -66,7 +66,7 @@ void VcsAnnotateTaskHandler::handle(const Task &task)
QAction *VcsAnnotateTaskHandler::createAction(QObject *parent) const
{
QAction *vcsannotateAction = new QAction(tr("&Annotate"), parent);
vcsannotateAction->setToolTip(tr("Annotate using version control system"));
vcsannotateAction->setToolTip(tr("Annotate using version control system."));
return vcsannotateAction;
}

View File

@@ -54,7 +54,7 @@ QWidget *ComponentAction::createWidget(QWidget *parent)
{
QComboBox *comboBox = new QComboBox(parent);
comboBox->setMinimumWidth(120);
comboBox->setToolTip(tr("Edit sub components defined in this file"));
comboBox->setToolTip(tr("Edit sub components defined in this file."));
comboBox->setModel(m_componentView->standardItemModel());
comboBox->setCurrentIndex(-1);
connect(comboBox, SIGNAL(activated(int)), SLOT(emitCurrentComponentChanged(int)));

View File

@@ -205,7 +205,7 @@ QList<QToolButton *> ItemLibraryWidget::createToolBarWidgets()
buttons << new QToolButton();
buttons.first()->setText(tr("I "));
buttons.first()->setIcon(QIcon(QLatin1String(Core::Constants::ICON_FILTER)));
buttons.first()->setToolTip(tr("Manage imports for components"));
buttons.first()->setToolTip(tr("Manage imports for components."));
buttons.first()->setPopupMode(QToolButton::InstantPopup);
QMenu * menu = new QMenu;
QAction * basicQtAction = new QAction(menu);

View File

@@ -83,24 +83,24 @@ QList<QToolButton *> NavigatorWidget::createToolBarWidgets()
buttons << new QToolButton();
buttons.last()->setIcon(QIcon(":/navigator/icon/arrowleft.png"));
buttons.last()->setToolTip(tr("Become first sibling of parent (CTRL + Left)"));
buttons.last()->setToolTip(tr("Become first sibling of parent (CTRL + Left)."));
buttons.last()->setShortcut(QKeySequence(Qt::Key_Left | Qt::CTRL));
connect(buttons.last(), SIGNAL(clicked()), this, SIGNAL(leftButtonClicked()));
buttons << new QToolButton();
buttons.last()->setIcon(QIcon(":/navigator/icon/arrowright.png"));
buttons.last()->setToolTip(tr("Become child of first sibling (CTRL + Right)"));
buttons.last()->setToolTip(tr("Become child of first sibling (CTRL + Right)."));
buttons.last()->setShortcut(QKeySequence(Qt::Key_Right | Qt::CTRL));
connect(buttons.last(), SIGNAL(clicked()), this, SIGNAL(rightButtonClicked()));
buttons << new QToolButton();
buttons.last()->setIcon(QIcon(":/navigator/icon/arrowdown.png"));
buttons.last()->setToolTip(tr("Move down (CTRL + Down)"));
buttons.last()->setToolTip(tr("Move down (CTRL + Down)."));
buttons.last()->setShortcut(QKeySequence(Qt::Key_Down | Qt::CTRL));
connect(buttons.last(), SIGNAL(clicked()), this, SIGNAL(downButtonClicked()));
buttons << new QToolButton();
buttons.last()->setIcon(QIcon(":/navigator/icon/arrowup.png"));
buttons.last()->setToolTip(tr("Move up (CTRL + Up)"));
buttons.last()->setToolTip(tr("Move up (CTRL + Up)."));
buttons.last()->setShortcut(QKeySequence(Qt::Key_Up | Qt::CTRL));
connect(buttons.last(), SIGNAL(clicked()), this, SIGNAL(upButtonClicked()));

View File

@@ -226,19 +226,19 @@ QWidget *QmlProfilerTraceView::createToolbar()
QToolButton *buttonPrev= new QToolButton;
buttonPrev->setIcon(QIcon(QLatin1String(":/qmlprofiler/ico_prev.png")));
buttonPrev->setToolTip(tr("Jump to previous event"));
buttonPrev->setToolTip(tr("Jump to previous event."));
connect(buttonPrev, SIGNAL(clicked()), this, SIGNAL(jumpToPrev()));
connect(this, SIGNAL(enableToolbar(bool)), buttonPrev, SLOT(setEnabled(bool)));
QToolButton *buttonNext= new QToolButton;
buttonNext->setIcon(QIcon(QLatin1String(":/qmlprofiler/ico_next.png")));
buttonNext->setToolTip(tr("Jump to next event"));
buttonNext->setToolTip(tr("Jump to next event."));
connect(buttonNext, SIGNAL(clicked()), this, SIGNAL(jumpToNext()));
connect(this, SIGNAL(enableToolbar(bool)), buttonNext, SLOT(setEnabled(bool)));
QToolButton *buttonZoomControls = new QToolButton;
buttonZoomControls->setIcon(QIcon(QLatin1String(":/qmlprofiler/ico_zoom.png")));
buttonZoomControls->setToolTip(tr("Show zoom slider"));
buttonZoomControls->setToolTip(tr("Show zoom slider."));
buttonZoomControls->setCheckable(true);
buttonZoomControls->setChecked(false);
connect(buttonZoomControls, SIGNAL(toggled(bool)), this, SIGNAL(showZoomSlider(bool)));
@@ -246,7 +246,7 @@ QWidget *QmlProfilerTraceView::createToolbar()
d->m_buttonRange = new QToolButton;
d->m_buttonRange->setIcon(QIcon(QLatin1String(":/qmlprofiler/ico_rangeselection.png")));
d->m_buttonRange->setToolTip(tr("Select range"));
d->m_buttonRange->setToolTip(tr("Select range."));
d->m_buttonRange->setCheckable(true);
d->m_buttonRange->setChecked(false);
connect(d->m_buttonRange, SIGNAL(clicked(bool)), this, SLOT(toggleRangeMode(bool)));
@@ -255,7 +255,7 @@ QWidget *QmlProfilerTraceView::createToolbar()
d->m_buttonLock = new QToolButton;
d->m_buttonLock->setIcon(QIcon(QLatin1String(":/qmlprofiler/ico_selectionmode.png")));
d->m_buttonLock->setToolTip(tr("View event information on mouseover"));
d->m_buttonLock->setToolTip(tr("View event information on mouseover."));
d->m_buttonLock->setCheckable(true);
d->m_buttonLock->setChecked(false);
connect(d->m_buttonLock, SIGNAL(clicked(bool)), this, SLOT(toggleLockMode(bool)));

View File

@@ -140,7 +140,7 @@
<item>
<widget class="QLineEdit" name="portsLineEdit">
<property name="toolTip">
<string>You can enter lists and ranges like this: 1024,1026-1028,1030</string>
<string>You can enter lists and ranges like this: '1024,1026-1028,1030'.</string>
</property>
</widget>
</item>

View File

@@ -186,10 +186,10 @@ void BehaviorSettingsWidget::updateConstrainTooltipsBoxTooltip() const
{
if (d->m_ui.constrainTooltipsBox->currentIndex() == 0) {
d->m_ui.constrainTooltipsBox->setToolTip(
tr("Display context-sensitive help or type information on mouseover."));
tr("Displays context-sensitive help or type information on mouseover."));
} else {
d->m_ui.constrainTooltipsBox->setToolTip(
tr("Display context-sensitive help or type information on Shift+Mouseover."));
tr("Displays context-sensitive help or type information on Shift+Mouseover."));
}
}

View File

@@ -360,7 +360,7 @@ Specifies how backspace interacts with indentation.
<item>
<widget class="QCheckBox" name="keyboardTooltips">
<property name="toolTip">
<string>Press Alt to display context-sensitive help or type information as tooltips.</string>
<string>Pressing Alt displays context-sensitive help or type information as tooltips.</string>
</property>
<property name="text">
<string>Show help tooltips using keyboard shortcut (Alt)</string>

View File

@@ -61,7 +61,7 @@
<item>
<widget class="QToolButton" name="eraseForegroundToolButton">
<property name="toolTip">
<string>Erase foreground</string>
<string>Erase foreground.</string>
</property>
<property name="text">
<string>x</string>
@@ -107,7 +107,7 @@
<item>
<widget class="QToolButton" name="eraseBackgroundToolButton">
<property name="toolTip">
<string>Erase background</string>
<string>Erase background.</string>
</property>
<property name="text">
<string>x</string>

View File

@@ -97,7 +97,7 @@
<item row="4" column="0">
<widget class="QCheckBox" name="visualizeWhitespace">
<property name="toolTip">
<string>Show tabs and spaces.</string>
<string>Shows tabs and spaces.</string>
</property>
<property name="text">
<string>&amp;Visualize whitespace</string>

View File

@@ -207,7 +207,7 @@ TextEditorSettings::TextEditorSettings(QObject *parent)
tr("Reserved keywords of the programming language."),
Qt::darkYellow));
formatDescr.append(FormatDescription(C_OPERATOR, tr("Operator"),
tr("Operators. (For example operator++ operator-=)")));
tr("Operators (for example operator++ or operator-=).")));
formatDescr.append(FormatDescription(C_PREPROCESSOR, tr("Preprocessor"),
tr("Preprocessor directives."), Qt::darkBlue));
formatDescr.append(FormatDescription(C_LABEL, tr("Label"), tr("Labels for goto statements."),
@@ -220,7 +220,7 @@ TextEditorSettings::TextEditorSettings(QObject *parent)
formatDescr.append(FormatDescription(C_DOXYGEN_TAG, tr("Doxygen Tag"), tr("Doxygen tags."),
Qt::blue));
formatDescr.append(FormatDescription(C_VISUAL_WHITESPACE, tr("Visual Whitespace"),
tr("Whitespace\nWill not be applied to whitespace "
tr("Whitespace.\nWill not be applied to whitespace "
"in comments and strings."), Qt::lightGray));
formatDescr.append(FormatDescription(C_DISABLED_CODE, tr("Disabled Code"),
tr("Code disabled by preprocessor directives.")));

View File

@@ -152,9 +152,9 @@
&lt;p&gt;By default, only instruction read accesses will be counted (&quot;Ir&quot;).&lt;/p&gt;
&lt;p&gt;
With cache simulation, further event counters are enabled:
&lt;ul&gt;&lt;li&gt;Cache misses on instruction reads (&quot;I1mr&quot;/&quot;I2mr&quot;)&lt;/li&gt;
&lt;li&gt;Data read accesses (&quot;Dr&quot;) and related cache misses (&quot;D1mr&quot;/&quot;D2mr&quot;)&lt;/li&gt;
&lt;li&gt;Data write accesses (&quot;Dw&quot;) and related cache misses (&quot;D1mw&quot;/&quot;D2mw&quot;)&lt;/li&gt;&lt;/ul&gt;
&lt;ul&gt;&lt;li&gt;Cache misses on instruction reads (&quot;I1mr&quot;/&quot;I2mr&quot;).&lt;/li&gt;
&lt;li&gt;Data read accesses (&quot;Dr&quot;) and related cache misses (&quot;D1mr&quot;/&quot;D2mr&quot;).&lt;/li&gt;
&lt;li&gt;Data write accesses (&quot;Dw&quot;) and related cache misses (&quot;D1mw&quot;/&quot;D2mw&quot;).&lt;/li&gt;&lt;/ul&gt;
&lt;/p&gt;
&lt;/body&gt;&lt;/html&gt;</string>
@@ -168,12 +168,12 @@ With cache simulation, further event counters are enabled:
<widget class="QCheckBox" name="enableBranchSim">
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;
&lt;p&gt;Do branch prediction simulation.&lt;/p&gt;
&lt;p&gt;Does branch prediction simulation.&lt;/p&gt;
&lt;p&gt;Further event counters are enabled: &lt;/p&gt;
&lt;ul&gt;&lt;li&gt;Number of executed conditional branches and related predictor misses (
&quot;Bc&quot;/&quot;Bcm&quot;)&lt;/li&gt;
&quot;Bc&quot;/&quot;Bcm&quot;).&lt;/li&gt;
&lt;li&gt;Executed indirect jumps and related misses of the jump address predictor (
&quot;Bi&quot;/&quot;Bim&quot;)&lt;/li&gt;&lt;/ul&gt;&lt;/body&gt;&lt;/html&gt;</string>
&quot;Bi&quot;/&quot;Bim&quot;).&lt;/li&gt;&lt;/ul&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text">
<string>Enable branch prediction simulation</string>
@@ -183,7 +183,7 @@ With cache simulation, further event counters are enabled:
<item row="2" column="0">
<widget class="QCheckBox" name="collectSystime">
<property name="toolTip">
<string>Collect information for system call times.</string>
<string>Collects information for system call times.</string>
</property>
<property name="text">
<string>Collect system call time</string>
@@ -205,9 +205,6 @@ With cache simulation, further event counters are enabled:
</item>
<item row="1" column="0">
<widget class="QLabel" name="visualisationMinimumInclusiveCostRatioLabel">
<property name="toolTip">
<string/>
</property>
<property name="text">
<string>Visualization: Minimum event cost:</string>
</property>

View File

@@ -223,7 +223,7 @@ void CleanDialog::addFile(const QString &workingDirectory, QString fileName, boo
// Tooltip with size information
if (fi.isFile()) {
const QString lastModified = fi.lastModified().toString(Qt::DefaultLocaleShortDate);
nameItem->setToolTip(tr("%n bytes, last modified %1", 0, fi.size()).arg(lastModified));
nameItem->setToolTip(tr("%n bytes, last modified %1.", 0, fi.size()).arg(lastModified));
}
d->m_filesModel->appendRow(nameItem);
}

View File

@@ -58,7 +58,7 @@ CommonSettingsWidget::CommonSettingsWidget(QWidget *parent) :
m_ui->nickNameMailMapChooser->setHistoryCompleter(QLatin1String("Vcs.NickMap.History"));
m_ui->sshPromptChooser->setExpectedKind(Utils::PathChooser::ExistingCommand);
m_ui->sshPromptChooser->setHistoryCompleter(QLatin1String("Vcs.SshPrompt.History"));
const QString patchToolTip = tr("Command used for reverting diff chunks");
const QString patchToolTip = tr("Command used for reverting diff chunks.");
m_ui->patchCommandLabel->setToolTip(patchToolTip);
m_ui->patchChooser->setToolTip(patchToolTip);
m_ui->patchChooser->setExpectedKind(Utils::PathChooser::ExistingCommand);

View File

@@ -73,7 +73,7 @@
<widget class="QLabel" name="nickNameMailMapLabel">
<property name="toolTip">
<string>A file listing user names and email addresses in a 4-column mailmap format:
name &lt;email&gt; alias &lt;email&gt;</string>
'name &lt;email&gt; alias &lt;email&gt;'.</string>
</property>
<property name="text">
<string>User/&amp;alias configuration file:</string>