forked from qt-creator/qt-creator
Android: remove automatic sdk setup ambiguity
Use label text instead of icon for Auto SDK download button. Fixes: QTCREATORBUG-23774 Change-Id: I5f10bafb0cdf88210f7121504778885291169e07 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -506,7 +506,6 @@ AndroidSettingsWidget::AndroidSettingsWidget()
|
|||||||
m_ui->downloadNDKToolButton->setIcon(downloadIcon);
|
m_ui->downloadNDKToolButton->setIcon(downloadIcon);
|
||||||
m_ui->downloadOpenJDKToolButton->setIcon(downloadIcon);
|
m_ui->downloadOpenJDKToolButton->setIcon(downloadIcon);
|
||||||
m_ui->downloadOpenSSLPrebuiltLibs->setIcon(downloadIcon);
|
m_ui->downloadOpenSSLPrebuiltLibs->setIcon(downloadIcon);
|
||||||
m_ui->sdkToolsAutoDownloadButton->setIcon(Utils::Icons::RELOAD.icon());
|
|
||||||
m_ui->sdkToolsAutoDownloadButton->setToolTip(tr(
|
m_ui->sdkToolsAutoDownloadButton->setToolTip(tr(
|
||||||
"Automatically download Android SDK Tools to selected location.\n\n"
|
"Automatically download Android SDK Tools to selected location.\n\n"
|
||||||
"If the selected path contains no valid SDK Tools, the SDK Tools package "
|
"If the selected path contains no valid SDK Tools, the SDK Tools package "
|
||||||
|
@@ -129,62 +129,6 @@
|
|||||||
<string>Android Settings</string>
|
<string>Android Settings</string>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QGridLayout" name="gridLayout_3">
|
<layout class="QGridLayout" name="gridLayout_3">
|
||||||
<item row="0" column="0">
|
|
||||||
<widget class="QLabel" name="SDKLocationLabel">
|
|
||||||
<property name="sizePolicy">
|
|
||||||
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
|
|
||||||
<horstretch>0</horstretch>
|
|
||||||
<verstretch>0</verstretch>
|
|
||||||
</sizepolicy>
|
|
||||||
</property>
|
|
||||||
<property name="text">
|
|
||||||
<string>Android SDK location:</string>
|
|
||||||
</property>
|
|
||||||
<property name="alignment">
|
|
||||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item row="0" column="5">
|
|
||||||
<widget class="QToolButton" name="sdkToolsAutoDownloadButton">
|
|
||||||
<property name="toolTip">
|
|
||||||
<string>Automatically download Android SDK Tools to selected location.</string>
|
|
||||||
</property>
|
|
||||||
<property name="text">
|
|
||||||
<string/>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item row="0" column="6">
|
|
||||||
<widget class="QToolButton" name="downloadSDKToolButton">
|
|
||||||
<property name="toolTip">
|
|
||||||
<string>Open Android SDK download URL in the system's browser.</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item row="2" column="6">
|
|
||||||
<widget class="QToolButton" name="downloadNDKToolButton">
|
|
||||||
<property name="toolTip">
|
|
||||||
<string>Open Android NDK download URL in the system's browser.</string>
|
|
||||||
</property>
|
|
||||||
<property name="text">
|
|
||||||
<string/>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item row="0" column="1" colspan="4">
|
|
||||||
<widget class="Utils::PathChooser" name="SDKLocationPathChooser" native="true"/>
|
|
||||||
</item>
|
|
||||||
<item row="5" column="0" colspan="7">
|
|
||||||
<widget class="Utils::DetailsWidget" name="androidDetailsWidget" native="true"/>
|
|
||||||
</item>
|
|
||||||
<item row="2" column="0">
|
|
||||||
<widget class="QLabel" name="ndkComboBoxLabel">
|
|
||||||
<property name="text">
|
|
||||||
<string>Android NDK list:</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item row="2" column="1" rowspan="3">
|
<item row="2" column="1" rowspan="3">
|
||||||
<widget class="QListWidget" name="ndkListWidget">
|
<widget class="QListWidget" name="ndkListWidget">
|
||||||
<property name="sizeAdjustPolicy">
|
<property name="sizeAdjustPolicy">
|
||||||
@@ -256,6 +200,59 @@
|
|||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</item>
|
</item>
|
||||||
|
<item row="5" column="0" colspan="7">
|
||||||
|
<widget class="Utils::DetailsWidget" name="androidDetailsWidget" native="true"/>
|
||||||
|
</item>
|
||||||
|
<item row="2" column="0">
|
||||||
|
<widget class="QLabel" name="ndkComboBoxLabel">
|
||||||
|
<property name="text">
|
||||||
|
<string>Android NDK list:</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="0" column="6">
|
||||||
|
<widget class="QToolButton" name="downloadSDKToolButton">
|
||||||
|
<property name="toolTip">
|
||||||
|
<string>Open Android SDK download URL in the system's browser.</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="0" column="0">
|
||||||
|
<widget class="QLabel" name="SDKLocationLabel">
|
||||||
|
<property name="sizePolicy">
|
||||||
|
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
|
||||||
|
<horstretch>0</horstretch>
|
||||||
|
<verstretch>0</verstretch>
|
||||||
|
</sizepolicy>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>Android SDK location:</string>
|
||||||
|
</property>
|
||||||
|
<property name="alignment">
|
||||||
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="2" column="6">
|
||||||
|
<widget class="QToolButton" name="downloadNDKToolButton">
|
||||||
|
<property name="toolTip">
|
||||||
|
<string>Open Android NDK download URL in the system's browser.</string>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string/>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="0" column="1">
|
||||||
|
<widget class="Utils::PathChooser" name="SDKLocationPathChooser" native="true"/>
|
||||||
|
</item>
|
||||||
|
<item row="0" column="2" colspan="3">
|
||||||
|
<widget class="QPushButton" name="sdkToolsAutoDownloadButton">
|
||||||
|
<property name="text">
|
||||||
|
<string>Set Up SDK</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
Reference in New Issue
Block a user