Add icons for the different targets.
BIN
src/plugins/projectexplorer/images/ConnectionOff.png
Normal file
|
After Width: | Height: | Size: 816 B |
BIN
src/plugins/projectexplorer/images/ConnectionOn.png
Normal file
|
After Width: | Height: | Size: 839 B |
BIN
src/plugins/projectexplorer/images/Desktop.png
Normal file
|
After Width: | Height: | Size: 1.0 KiB |
BIN
src/plugins/projectexplorer/images/MaemoDevice.png
Normal file
|
After Width: | Height: | Size: 976 B |
BIN
src/plugins/projectexplorer/images/MaemoEmulator.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
src/plugins/projectexplorer/images/SymbianDevice.png
Normal file
|
After Width: | Height: | Size: 1.0 KiB |
BIN
src/plugins/projectexplorer/images/SymbianEmulator.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
@@ -32,5 +32,11 @@
|
|||||||
<file>images/RunSettings.png</file>
|
<file>images/RunSettings.png</file>
|
||||||
<file>images/EditorSettings.png</file>
|
<file>images/EditorSettings.png</file>
|
||||||
<file>images/ProjectDependencies.png</file>
|
<file>images/ProjectDependencies.png</file>
|
||||||
|
<file>images/MaemoDevice.png</file>
|
||||||
|
<file>images/MaemoEmulator.png</file>
|
||||||
|
<file>images/SymbianDevice.png</file>
|
||||||
|
<file>images/SymbianEmulator.png</file>
|
||||||
|
<file>images/ConnectionOff.png</file>
|
||||||
|
<file>images/ConnectionOn.png</file>
|
||||||
</qresource>
|
</qresource>
|
||||||
</RCC>
|
</RCC>
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 151 B |
|
Before Width: | Height: | Size: 173 B |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.7 KiB |
@@ -10,7 +10,5 @@
|
|||||||
<file>images/qt_qrc.png</file>
|
<file>images/qt_qrc.png</file>
|
||||||
<file>images/sources.png</file>
|
<file>images/sources.png</file>
|
||||||
<file>images/unknown.png</file>
|
<file>images/unknown.png</file>
|
||||||
<file>images/connected.png</file>
|
|
||||||
<file>images/notconnected.png</file>
|
|
||||||
</qresource>
|
</qresource>
|
||||||
</RCC>
|
</RCC>
|
||||||
|
|||||||
@@ -71,13 +71,13 @@ QIcon iconForId(const QString &id) {
|
|||||||
if (id == QLatin1String(DESKTOP_TARGET_ID))
|
if (id == QLatin1String(DESKTOP_TARGET_ID))
|
||||||
return QIcon(qApp->style()->standardIcon(QStyle::SP_ComputerIcon));
|
return QIcon(qApp->style()->standardIcon(QStyle::SP_ComputerIcon));
|
||||||
if (id == QLatin1String(S60_EMULATOR_TARGET_ID))
|
if (id == QLatin1String(S60_EMULATOR_TARGET_ID))
|
||||||
return QIcon(qApp->style()->standardIcon(QStyle::SP_ComputerIcon));
|
return QIcon(":/projectexplorer/images/SymbianEmulator.png");
|
||||||
if (id == QLatin1String(S60_DEVICE_TARGET_ID))
|
if (id == QLatin1String(S60_DEVICE_TARGET_ID))
|
||||||
return QIcon(qApp->style()->standardIcon(QStyle::SP_ComputerIcon));
|
return QIcon(":/projectexplorer/images/SymbianDevice.png");
|
||||||
if (id == QLatin1String(MAEMO_EMULATOR_TARGET_ID))
|
if (id == QLatin1String(MAEMO_EMULATOR_TARGET_ID))
|
||||||
return QIcon(qApp->style()->standardIcon(QStyle::SP_ComputerIcon));
|
return QIcon(":/projectexplorer/images/MaemoEmulator.png");
|
||||||
if (id == QLatin1String(MAEMO_DEVICE_TARGET_ID))
|
if (id == QLatin1String(MAEMO_DEVICE_TARGET_ID))
|
||||||
return QIcon(qApp->style()->standardIcon(QStyle::SP_ComputerIcon));
|
return QIcon(":/projectexplorer/images/MaemoDevice.png");
|
||||||
return QIcon();
|
return QIcon();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -200,8 +200,8 @@ Qt4Target *Qt4TargetFactory::restore(ProjectExplorer::Project *parent, const QVa
|
|||||||
|
|
||||||
Qt4Target::Qt4Target(Qt4Project *parent, const QString &id) :
|
Qt4Target::Qt4Target(Qt4Project *parent, const QString &id) :
|
||||||
ProjectExplorer::Target(parent, id),
|
ProjectExplorer::Target(parent, id),
|
||||||
m_connectedPixmap(QLatin1String(":/qt4projectmanager/images/connected.png")),
|
m_connectedPixmap(QLatin1String(":/projectexplorer/images/ConnectionOn.png")),
|
||||||
m_disconnectedPixmap(QLatin1String(":/qt4projectmanager/images/notconnected.png")),
|
m_disconnectedPixmap(QLatin1String(":/projectexplorer/images/ConnectionOff.png")),
|
||||||
m_buildConfigurationFactory(new Qt4BuildConfigurationFactory(this))
|
m_buildConfigurationFactory(new Qt4BuildConfigurationFactory(this))
|
||||||
{
|
{
|
||||||
connect(project(), SIGNAL(supportedTargetIdsChanged()),
|
connect(project(), SIGNAL(supportedTargetIdsChanged()),
|
||||||
|
|||||||