forked from qt-creator/qt-creator
Project Explorer: Fix UI text according to the guidelines
https://doc.qt.io/qtcreator-extending/qtcreator-ui-text.html Task-number: QTCREATORBUG-23683 Change-Id: Idd3a1691c8a2fb46d8289a0de60a39f7020bc5a9 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -186,14 +186,14 @@ AppOutputPane::AppOutputPane() :
|
|||||||
|
|
||||||
// Rerun
|
// Rerun
|
||||||
m_reRunButton->setIcon(Utils::Icons::RUN_SMALL_TOOLBAR.icon());
|
m_reRunButton->setIcon(Utils::Icons::RUN_SMALL_TOOLBAR.icon());
|
||||||
m_reRunButton->setToolTip(tr("Re-run this run-configuration"));
|
m_reRunButton->setToolTip(tr("Re-run this run-configuration."));
|
||||||
m_reRunButton->setEnabled(false);
|
m_reRunButton->setEnabled(false);
|
||||||
connect(m_reRunButton, &QToolButton::clicked,
|
connect(m_reRunButton, &QToolButton::clicked,
|
||||||
this, &AppOutputPane::reRunRunControl);
|
this, &AppOutputPane::reRunRunControl);
|
||||||
|
|
||||||
// Stop
|
// Stop
|
||||||
m_stopAction->setIcon(Utils::Icons::STOP_SMALL_TOOLBAR.icon());
|
m_stopAction->setIcon(Utils::Icons::STOP_SMALL_TOOLBAR.icon());
|
||||||
m_stopAction->setToolTip(tr("Stop Running Program"));
|
m_stopAction->setToolTip(tr("Stop running program."));
|
||||||
m_stopAction->setEnabled(false);
|
m_stopAction->setEnabled(false);
|
||||||
|
|
||||||
Core::Command *cmd = Core::ActionManager::registerAction(m_stopAction, Constants::STOP);
|
Core::Command *cmd = Core::ActionManager::registerAction(m_stopAction, Constants::STOP);
|
||||||
@@ -833,7 +833,7 @@ public:
|
|||||||
: {&m_runOutputModeComboBox, &m_debugOutputModeComboBox}) {
|
: {&m_runOutputModeComboBox, &m_debugOutputModeComboBox}) {
|
||||||
modeComboBox->addItem(tr("Always"), int(AppOutputPaneMode::PopupOnOutput));
|
modeComboBox->addItem(tr("Always"), int(AppOutputPaneMode::PopupOnOutput));
|
||||||
modeComboBox->addItem(tr("Never"), int(AppOutputPaneMode::FlashOnOutput));
|
modeComboBox->addItem(tr("Never"), int(AppOutputPaneMode::FlashOnOutput));
|
||||||
modeComboBox->addItem(tr("On first output only"),
|
modeComboBox->addItem(tr("On First Output Only"),
|
||||||
int(AppOutputPaneMode::PopupOnFirstOutput));
|
int(AppOutputPaneMode::PopupOnFirstOutput));
|
||||||
}
|
}
|
||||||
m_runOutputModeComboBox.setCurrentIndex(m_runOutputModeComboBox
|
m_runOutputModeComboBox.setCurrentIndex(m_runOutputModeComboBox
|
||||||
|
|||||||
@@ -1086,7 +1086,7 @@ bool ProjectExplorerPlugin::initialize(const QStringList &arguments, QString *er
|
|||||||
msessionContextMenu->addAction(cmd, Constants::G_SESSION_BUILD);
|
msessionContextMenu->addAction(cmd, Constants::G_SESSION_BUILD);
|
||||||
|
|
||||||
dd->m_buildSessionForAllConfigsAction
|
dd->m_buildSessionForAllConfigsAction
|
||||||
= new QAction(buildIcon, tr("Build All Projects For All Configurations"), this);
|
= new QAction(buildIcon, tr("Build All Projects for All Configurations"), this);
|
||||||
cmd = ActionManager::registerAction(dd->m_buildSessionForAllConfigsAction,
|
cmd = ActionManager::registerAction(dd->m_buildSessionForAllConfigsAction,
|
||||||
Constants::BUILDSESSIONALLCONFIGS);
|
Constants::BUILDSESSIONALLCONFIGS);
|
||||||
mbuild->addAction(cmd, Constants::G_BUILD_BUILD);
|
mbuild->addAction(cmd, Constants::G_BUILD_BUILD);
|
||||||
@@ -1106,7 +1106,7 @@ bool ProjectExplorerPlugin::initialize(const QStringList &arguments, QString *er
|
|||||||
msessionContextMenu->addAction(cmd, Constants::G_SESSION_REBUILD);
|
msessionContextMenu->addAction(cmd, Constants::G_SESSION_REBUILD);
|
||||||
|
|
||||||
dd->m_rebuildSessionForAllConfigsAction
|
dd->m_rebuildSessionForAllConfigsAction
|
||||||
= new QAction(Icons::REBUILD.icon(), tr("Rebuild All Projects For All Configurations"),
|
= new QAction(Icons::REBUILD.icon(), tr("Rebuild All Projects for All Configurations"),
|
||||||
this);
|
this);
|
||||||
cmd = ActionManager::registerAction(dd->m_rebuildSessionForAllConfigsAction,
|
cmd = ActionManager::registerAction(dd->m_rebuildSessionForAllConfigsAction,
|
||||||
Constants::REBUILDSESSIONALLCONFIGS);
|
Constants::REBUILDSESSIONALLCONFIGS);
|
||||||
@@ -1121,7 +1121,7 @@ bool ProjectExplorerPlugin::initialize(const QStringList &arguments, QString *er
|
|||||||
msessionContextMenu->addAction(cmd, Constants::G_SESSION_REBUILD);
|
msessionContextMenu->addAction(cmd, Constants::G_SESSION_REBUILD);
|
||||||
|
|
||||||
dd->m_cleanSessionForAllConfigsAction = new QAction(Utils::Icons::CLEAN.icon(),
|
dd->m_cleanSessionForAllConfigsAction = new QAction(Utils::Icons::CLEAN.icon(),
|
||||||
tr("Clean All Projects For All Configurations"), this);
|
tr("Clean All Projects for All Configurations"), this);
|
||||||
cmd = ActionManager::registerAction(dd->m_cleanSessionForAllConfigsAction,
|
cmd = ActionManager::registerAction(dd->m_cleanSessionForAllConfigsAction,
|
||||||
Constants::CLEANSESSIONALLCONFIGS);
|
Constants::CLEANSESSIONALLCONFIGS);
|
||||||
mbuild->addAction(cmd, Constants::G_BUILD_CLEAN);
|
mbuild->addAction(cmd, Constants::G_BUILD_CLEAN);
|
||||||
|
|||||||
@@ -263,7 +263,7 @@
|
|||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Deduced From Project</string>
|
<string>Deduced from Project</string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
</widget>
|
</widget>
|
||||||
|
|||||||
@@ -344,7 +344,7 @@ void ArgumentsAspect::addToLayout(LayoutBuilder &builder)
|
|||||||
containerLayout->setContentsMargins(0, 0, 0, 0);
|
containerLayout->setContentsMargins(0, 0, 0, 0);
|
||||||
containerLayout->addWidget(setupChooser());
|
containerLayout->addWidget(setupChooser());
|
||||||
m_multiLineButton = new ExpandButton;
|
m_multiLineButton = new ExpandButton;
|
||||||
m_multiLineButton->setToolTip(tr("Toggle multi-line mode"));
|
m_multiLineButton->setToolTip(tr("Toggle multi-line mode."));
|
||||||
m_multiLineButton->setChecked(m_multiLine);
|
m_multiLineButton->setChecked(m_multiLine);
|
||||||
connect(m_multiLineButton, &QCheckBox::clicked, this, [this](bool checked) {
|
connect(m_multiLineButton, &QCheckBox::clicked, this, [this](bool checked) {
|
||||||
if (m_multiLine == checked)
|
if (m_multiLine == checked)
|
||||||
|
|||||||
Reference in New Issue
Block a user