forked from qt-creator/qt-creator
Themable, HighDpi Android/iOS device icons
Also used as option category icons Change-Id: I40916ff4683554a3e7de7126d737286eba4a525f Reviewed-by: Vikas Pachdha <vikas.pachdha@qt.io> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
<RCC>
|
||||
<qresource prefix="/android">
|
||||
<file>images/QtAndroid.png</file>
|
||||
<file>images/androiddevice.png</file>
|
||||
<file>images/androiddevice@2x.png</file>
|
||||
<file>images/androiddevicesmall.png</file>
|
||||
<file>images/androiddevicesmall@2x.png</file>
|
||||
<file>images/download.png</file>
|
||||
<file>Android.mimetypes.xml</file>
|
||||
</qresource>
|
||||
|
||||
@@ -48,7 +48,6 @@ enum AndroidQemuStatus {
|
||||
|
||||
namespace Constants {
|
||||
const char ANDROID_SETTINGS_ID[] = "BB.Android Configurations";
|
||||
const char ANDROID_SETTINGS_CATEGORY_ICON[] = ":/android/images/QtAndroid.png";
|
||||
const char ANDROID_TOOLCHAIN_ID[] = "Qt4ProjectManager.ToolChain.Android";
|
||||
const char ANDROIDQT[] = "Qt4ProjectManager.QtVersion.Android";
|
||||
|
||||
|
||||
@@ -45,7 +45,10 @@ AndroidDevice::AndroidDevice()
|
||||
{
|
||||
setDisplayName(QCoreApplication::translate("Android::Internal::AndroidDevice", "Run on Android"));
|
||||
setDeviceState(DeviceReadyToUse);
|
||||
setDeviceIcon({Utils::Icon(":/android/images/QtAndroid.png")});
|
||||
setDeviceIcon({Utils::Icon({{":/android/images/androiddevicesmall.png",
|
||||
Utils::Theme::PanelTextColorDark}}, Utils::Icon::Tint),
|
||||
Utils::Icon({{":/android/images/androiddevice.png",
|
||||
Utils::Theme::IconsBaseColor}})});
|
||||
}
|
||||
|
||||
AndroidDevice::AndroidDevice(const AndroidDevice &other)
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 8.0 KiB |
BIN
src/plugins/android/images/androiddevice.png
Normal file
BIN
src/plugins/android/images/androiddevice.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 211 B |
BIN
src/plugins/android/images/androiddevice@2x.png
Normal file
BIN
src/plugins/android/images/androiddevice@2x.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 255 B |
BIN
src/plugins/android/images/androiddevicesmall.png
Normal file
BIN
src/plugins/android/images/androiddevicesmall.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 158 B |
BIN
src/plugins/android/images/androiddevicesmall@2x.png
Normal file
BIN
src/plugins/android/images/androiddevicesmall@2x.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 192 B |
Reference in New Issue
Block a user