forked from qt-creator/qt-creator
projectexplorer: More consistent '...'
Used for buttons that open additional dialogs, but not comboboxes. Change-Id: I9b40eac236f18b4c0b2e358ddeccb953024e8d50 Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
This commit is contained in:
@@ -147,7 +147,7 @@ void BuildSettingsWidget::setupUi()
|
|||||||
hbox->addWidget(m_removeButton);
|
hbox->addWidget(m_removeButton);
|
||||||
|
|
||||||
m_renameButton = new QPushButton(this);
|
m_renameButton = new QPushButton(this);
|
||||||
m_renameButton->setText(tr("Rename"));
|
m_renameButton->setText(tr("Rename..."));
|
||||||
m_renameButton->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
|
m_renameButton->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
|
||||||
hbox->addWidget(m_renameButton);
|
hbox->addWidget(m_renameButton);
|
||||||
|
|
||||||
|
|||||||
@@ -838,7 +838,7 @@ bool ProjectExplorerPlugin::initialize(const QStringList &arguments, QString *er
|
|||||||
mfileContextMenu->addAction(cmd, Constants::G_FILE_OTHER);
|
mfileContextMenu->addAction(cmd, Constants::G_FILE_OTHER);
|
||||||
|
|
||||||
// renamefile action
|
// renamefile action
|
||||||
d->m_renameFileAction = new QAction(tr("Rename"), this);
|
d->m_renameFileAction = new QAction(tr("Rename..."), this);
|
||||||
cmd = am->registerAction(d->m_renameFileAction, ProjectExplorer::Constants::RENAMEFILE,
|
cmd = am->registerAction(d->m_renameFileAction, ProjectExplorer::Constants::RENAMEFILE,
|
||||||
projecTreeContext);
|
projecTreeContext);
|
||||||
mfileContextMenu->addAction(cmd, Constants::G_FILE_OTHER);
|
mfileContextMenu->addAction(cmd, Constants::G_FILE_OTHER);
|
||||||
|
|||||||
@@ -135,7 +135,7 @@ RunSettingsWidget::RunSettingsWidget(Target *target)
|
|||||||
m_deployConfigurationCombo = new QComboBox(this);
|
m_deployConfigurationCombo = new QComboBox(this);
|
||||||
m_addDeployToolButton = new QPushButton(tr("Add"), this);
|
m_addDeployToolButton = new QPushButton(tr("Add"), this);
|
||||||
m_removeDeployToolButton = new QPushButton(tr("Remove"), this);
|
m_removeDeployToolButton = new QPushButton(tr("Remove"), this);
|
||||||
m_renameDeployButton = new QPushButton(tr("Rename"), this);
|
m_renameDeployButton = new QPushButton(tr("Rename..."), this);
|
||||||
|
|
||||||
QWidget *deployWidget = new QWidget(this);
|
QWidget *deployWidget = new QWidget(this);
|
||||||
|
|
||||||
@@ -145,7 +145,7 @@ RunSettingsWidget::RunSettingsWidget(Target *target)
|
|||||||
|
|
||||||
m_addRunToolButton = new QPushButton(tr("Add"), this);
|
m_addRunToolButton = new QPushButton(tr("Add"), this);
|
||||||
m_removeRunToolButton = new QPushButton(tr("Remove"), this);
|
m_removeRunToolButton = new QPushButton(tr("Remove"), this);
|
||||||
m_renameRunButton = new QPushButton(tr("Rename"), this);
|
m_renameRunButton = new QPushButton(tr("Rename..."), this);
|
||||||
|
|
||||||
QSpacerItem *spacer1 =
|
QSpacerItem *spacer1 =
|
||||||
new QSpacerItem(10, 10, QSizePolicy::Expanding, QSizePolicy::Minimum);
|
new QSpacerItem(10, 10, QSizePolicy::Expanding, QSizePolicy::Minimum);
|
||||||
|
|||||||
@@ -42,7 +42,7 @@
|
|||||||
<item>
|
<item>
|
||||||
<widget class="QPushButton" name="manageQtVersionPushButtons">
|
<widget class="QPushButton" name="manageQtVersionPushButtons">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Manage</string>
|
<string>Manage...</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
@@ -73,7 +73,7 @@
|
|||||||
<item>
|
<item>
|
||||||
<widget class="QPushButton" name="manageToolChainPushButton">
|
<widget class="QPushButton" name="manageToolChainPushButton">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Manage</string>
|
<string>Manage...</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
@@ -107,7 +107,7 @@
|
|||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="3" column="1">
|
<item row="3" column="1">
|
||||||
<widget class="Utils::PathChooser" name="shadowBuildDirEdit">
|
<widget class="Utils::PathChooser" name="shadowBuildDirEdit" native="true">
|
||||||
<property name="sizePolicy">
|
<property name="sizePolicy">
|
||||||
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
|
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
|
||||||
<horstretch>0</horstretch>
|
<horstretch>0</horstretch>
|
||||||
|
|||||||
Reference in New Issue
Block a user