Added icons for callsigns

This commit is contained in:
Klaus Basan
2014-05-07 18:32:41 +02:00
parent 29ab922937
commit 70e2cc0526
5 changed files with 7 additions and 2 deletions

View File

@@ -27,10 +27,11 @@ namespace BlackMisc
*/
const QPixmap &CCallsign::convertToIcon(const CCallsign &callsign)
{
static const QPixmap app(QPixmap(":/blackmisc/icons/tower.png").scaledToWidth(16, Qt::SmoothTransformation));
static const QPixmap app(QPixmap(":/blackmisc/icons/aircraft_arrival.png").scaledToWidth(16, Qt::SmoothTransformation));
static const QPixmap gnd(QPixmap(":/blackmisc/icons/tower.png").scaledToWidth(16, Qt::SmoothTransformation));
static const QPixmap del(QPixmap(":/blackmisc/icons/tower.png").scaledToWidth(16, Qt::SmoothTransformation));
static const QPixmap del(QPixmap(":/blackmisc/icons/aircraft_departure.png").scaledToWidth(16, Qt::SmoothTransformation));
static const QPixmap twr(QPixmap(":/blackmisc/icons/tower.png").scaledToWidth(16, Qt::SmoothTransformation));
static const QPixmap ctr(QPixmap(":/blackmisc/icons/sky.png").scaledToWidth(16, Qt::SmoothTransformation));
static const QPixmap pilot(QPixmap(":/blackmisc/icons/aeropuerto.png").scaledToWidth(16, Qt::SmoothTransformation));
static const QPixmap sup(":/blackmisc/icons/SUP.png");
static const QPixmap unknown(QPixmap(":/blackmisc/icons/question.png").scaledToWidth(16, Qt::SmoothTransformation));
@@ -46,6 +47,7 @@ namespace BlackMisc
if ("TWR" == t) return twr;
if ("DEL" == t) return del;
if ("SUP" == t) return sup;
if ("CTR" == t) return ctr;
return unknown;
}
else

View File

@@ -21,5 +21,8 @@
<file>icons/SUP.png</file>
<file>icons/aeropuerto.png</file>
<file>icons/tower.png</file>
<file>icons/aircraft_departure.jpg</file>
<file>icons/aircraft_arrival.jpg</file>
<file>icons/sky.jpg</file>
</qresource>
</RCC>

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.5 KiB

BIN
src/blackmisc/icons/sky.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.2 KiB