mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-30 20:15:35 +08:00
Added icons for callsigns
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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>
|
||||
|
||||
BIN
src/blackmisc/icons/aircraft_arrival.jpg
Normal file
BIN
src/blackmisc/icons/aircraft_arrival.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.6 KiB |
BIN
src/blackmisc/icons/aircraft_departure.jpg
Normal file
BIN
src/blackmisc/icons/aircraft_departure.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 8.5 KiB |
BIN
src/blackmisc/icons/sky.jpg
Normal file
BIN
src/blackmisc/icons/sky.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 7.2 KiB |
Reference in New Issue
Block a user