mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-20 12:35:43 +08:00
New icons, e.g. for OBS
This commit is contained in:
@@ -30,10 +30,11 @@ namespace BlackMisc
|
|||||||
static const QPixmap app(QPixmap(":/blackmisc/icons/aircraft_arrival.jpg").scaledToWidth(16, Qt::SmoothTransformation));
|
static const QPixmap app(QPixmap(":/blackmisc/icons/aircraft_arrival.jpg").scaledToWidth(16, Qt::SmoothTransformation));
|
||||||
static const QPixmap gnd(QPixmap(":/blackmisc/icons/tower.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/aircraft_departure.jpg").scaledToWidth(16, Qt::SmoothTransformation));
|
static const QPixmap del(QPixmap(":/blackmisc/icons/aircraft_departure.jpg").scaledToWidth(16, Qt::SmoothTransformation));
|
||||||
static const QPixmap twr(QPixmap(":/blackmisc/icons/tower.png").scaledToWidth(16, Qt::SmoothTransformation));
|
static const QPixmap twr(QPixmap(":/blackmisc/icons/tower_framed.jpg").scaledToWidth(16, Qt::SmoothTransformation));
|
||||||
static const QPixmap ctr(QPixmap(":/blackmisc/icons/sky.jpg").scaledToWidth(16, Qt::SmoothTransformation));
|
static const QPixmap ctr(QPixmap(":/blackmisc/icons/sky.jpg").scaledToWidth(16, Qt::SmoothTransformation));
|
||||||
static const QPixmap pilot(QPixmap(":/blackmisc/icons/aeropuerto.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 sup(":/blackmisc/icons/SUP.png");
|
||||||
|
static const QPixmap obs(":/blackmisc/icons/OBS.png");
|
||||||
static const QPixmap unknown(QPixmap(":/blackmisc/icons/question.png").scaledToWidth(16, Qt::SmoothTransformation));
|
static const QPixmap unknown(QPixmap(":/blackmisc/icons/question.png").scaledToWidth(16, Qt::SmoothTransformation));
|
||||||
|
|
||||||
QString t = callsign.asString().toUpper();
|
QString t = callsign.asString().toUpper();
|
||||||
@@ -48,6 +49,7 @@ namespace BlackMisc
|
|||||||
if ("DEL" == t) return del;
|
if ("DEL" == t) return del;
|
||||||
if ("SUP" == t) return sup;
|
if ("SUP" == t) return sup;
|
||||||
if ("CTR" == t) return ctr;
|
if ("CTR" == t) return ctr;
|
||||||
|
if ("OBS" == t) return obs;
|
||||||
return unknown;
|
return unknown;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
@@ -24,5 +24,6 @@
|
|||||||
<file>icons/aircraft_departure.jpg</file>
|
<file>icons/aircraft_departure.jpg</file>
|
||||||
<file>icons/aircraft_arrival.jpg</file>
|
<file>icons/aircraft_arrival.jpg</file>
|
||||||
<file>icons/sky.jpg</file>
|
<file>icons/sky.jpg</file>
|
||||||
|
<file>icons/tower_framed.jpg</file>
|
||||||
</qresource>
|
</qresource>
|
||||||
</RCC>
|
</RCC>
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.7 KiB |
BIN
src/blackmisc/icons/tower_framed.jpg
Normal file
BIN
src/blackmisc/icons/tower_framed.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 6.0 KiB |
Reference in New Issue
Block a user