mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-20 04:25:42 +08:00
Ref T203, OS icons
(icons from wikipedia marked as public domain)
This commit is contained in:
@@ -576,4 +576,9 @@
|
|||||||
<file>icons/famfamfam/icons/silk/controller_delete.png</file>
|
<file>icons/famfamfam/icons/silk/controller_delete.png</file>
|
||||||
<file>icons/famfamfam/icons/silk/controller_error.png</file>
|
<file>icons/famfamfam/icons/silk/controller_error.png</file>
|
||||||
</qresource>
|
</qresource>
|
||||||
|
<qresource prefix="/os">
|
||||||
|
<file>icons/os/linux_24.png</file>
|
||||||
|
<file>icons/os/macos_24.png</file>
|
||||||
|
<file>icons/os/windows_24.png</file>
|
||||||
|
</qresource>
|
||||||
</RCC>
|
</RCC>
|
||||||
|
|||||||
@@ -95,7 +95,11 @@ namespace BlackMisc
|
|||||||
CIcon(CIcons::NetworkVatsimLogo, "VATSIM"),
|
CIcon(CIcons::NetworkVatsimLogo, "VATSIM"),
|
||||||
CIcon(CIcons::NetworkVatsimLogoWhite, "VATSIM"),
|
CIcon(CIcons::NetworkVatsimLogoWhite, "VATSIM"),
|
||||||
CIcon(CIcons::NotSet, "?"),
|
CIcon(CIcons::NotSet, "?"),
|
||||||
CIcon(CIcons::StandardIconAppAircrafts16, "aircrafts"),
|
CIcon(CIcons::OSAll, "All OS"),
|
||||||
|
CIcon(CIcons::OSLinux, "Linux"),
|
||||||
|
CIcon(CIcons::OSMacOs, "Mac OS"),
|
||||||
|
CIcon(CIcons::OSWindows, "Windows"),
|
||||||
|
CIcon(CIcons::StandardIconAppAircraft16, "aircraft"),
|
||||||
CIcon(CIcons::StandardIconAppAtc16, "ATC"),
|
CIcon(CIcons::StandardIconAppAtc16, "ATC"),
|
||||||
CIcon(CIcons::StandardIconAppFlightPlan16, "flight plan"),
|
CIcon(CIcons::StandardIconAppFlightPlan16, "flight plan"),
|
||||||
CIcon(CIcons::StandardIconAppLog16, "log"),
|
CIcon(CIcons::StandardIconAppLog16, "log"),
|
||||||
|
|||||||
@@ -472,6 +472,29 @@ namespace BlackMisc
|
|||||||
return pm;
|
return pm;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const QPixmap &CIcons::osAll()
|
||||||
|
{
|
||||||
|
return empty16();
|
||||||
|
}
|
||||||
|
|
||||||
|
const QPixmap &CIcons::osLinux()
|
||||||
|
{
|
||||||
|
static const QPixmap pm(":/os/icons/os/linux_24.png");
|
||||||
|
return pm;
|
||||||
|
}
|
||||||
|
|
||||||
|
const QPixmap &CIcons::osMac()
|
||||||
|
{
|
||||||
|
static const QPixmap pm(":/os/icons/os/macos_24.png");
|
||||||
|
return pm;
|
||||||
|
}
|
||||||
|
|
||||||
|
const QPixmap &CIcons::osWindows()
|
||||||
|
{
|
||||||
|
static const QPixmap pm(":/os/icons/os/windows_24.png");
|
||||||
|
return pm;
|
||||||
|
}
|
||||||
|
|
||||||
const QPixmap &CIcons::preloader64()
|
const QPixmap &CIcons::preloader64()
|
||||||
{
|
{
|
||||||
static const QPixmap pm(":/preloaders/icons/preloaders/FillingRing64.gif");
|
static const QPixmap pm(":/preloaders/icons/preloaders/FillingRing64.gif");
|
||||||
@@ -1071,7 +1094,11 @@ namespace BlackMisc
|
|||||||
case NetworkVatsimLogo: return vatsimLogo16();
|
case NetworkVatsimLogo: return vatsimLogo16();
|
||||||
case NetworkVatsimLogoWhite: return vatsimLogoWhite16();
|
case NetworkVatsimLogoWhite: return vatsimLogoWhite16();
|
||||||
case NotSet: return empty();
|
case NotSet: return empty();
|
||||||
case StandardIconAppAircrafts16: return appAircraft16();
|
case OSAll: return osAll();
|
||||||
|
case OSLinux: return osLinux();
|
||||||
|
case OSMacOs: return osMac();
|
||||||
|
case OSWindows: return osWindows();
|
||||||
|
case StandardIconAppAircraft16: return appAircraft16();
|
||||||
case StandardIconAppAtc16: return appAtc16();
|
case StandardIconAppAtc16: return appAtc16();
|
||||||
case StandardIconAppFlightPlan16: return appFlightPlan16();
|
case StandardIconAppFlightPlan16: return appFlightPlan16();
|
||||||
case StandardIconAppLog16: return appLog16();
|
case StandardIconAppLog16: return appLog16();
|
||||||
@@ -1118,6 +1145,8 @@ namespace BlackMisc
|
|||||||
case StandardIconInfo16: return info16();
|
case StandardIconInfo16: return info16();
|
||||||
case StandardIconJoystick16: return joystick16();
|
case StandardIconJoystick16: return joystick16();
|
||||||
case StandardIconLoad16: return load16();
|
case StandardIconLoad16: return load16();
|
||||||
|
case StandardIconLockClosed16: return lockClosed16();
|
||||||
|
case StandardIconLockOpen16: return lockOpen16();
|
||||||
case StandardIconMonitorError16: return monitorError16();
|
case StandardIconMonitorError16: return monitorError16();
|
||||||
case StandardIconPaintCan16: return paintCan16();
|
case StandardIconPaintCan16: return paintCan16();
|
||||||
case StandardIconPaperPlane16: return paperPlane16();
|
case StandardIconPaperPlane16: return paperPlane16();
|
||||||
|
|||||||
@@ -89,7 +89,11 @@ namespace BlackMisc
|
|||||||
NetworkVatsimLogo,
|
NetworkVatsimLogo,
|
||||||
NetworkVatsimLogoWhite,
|
NetworkVatsimLogoWhite,
|
||||||
NotSet,
|
NotSet,
|
||||||
StandardIconAppAircrafts16,
|
OSAll,
|
||||||
|
OSLinux,
|
||||||
|
OSMacOs,
|
||||||
|
OSWindows,
|
||||||
|
StandardIconAppAircraft16,
|
||||||
StandardIconAppAtc16,
|
StandardIconAppAtc16,
|
||||||
StandardIconAppFlightPlan16,
|
StandardIconAppFlightPlan16,
|
||||||
StandardIconAppLog16,
|
StandardIconAppLog16,
|
||||||
@@ -440,6 +444,22 @@ namespace BlackMisc
|
|||||||
//! Database table
|
//! Database table
|
||||||
static const QPixmap &databaseTable16();
|
static const QPixmap &databaseTable16();
|
||||||
|
|
||||||
|
// --------------------------------------------------
|
||||||
|
// -- OS icons
|
||||||
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
//! All OS
|
||||||
|
static const QPixmap &osAll();
|
||||||
|
|
||||||
|
//! Linux
|
||||||
|
static const QPixmap &osLinux();
|
||||||
|
|
||||||
|
//! MacOS
|
||||||
|
static const QPixmap &osMac();
|
||||||
|
|
||||||
|
//! Windows
|
||||||
|
static const QPixmap &osWindows();
|
||||||
|
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
// -- Preloader icons
|
// -- Preloader icons
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|||||||
BIN
src/blackmisc/icons/os/linux_24.png
Normal file
BIN
src/blackmisc/icons/os/linux_24.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.1 KiB |
BIN
src/blackmisc/icons/os/macos_24.png
Normal file
BIN
src/blackmisc/icons/os/macos_24.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 564 B |
BIN
src/blackmisc/icons/os/windows_24.png
Normal file
BIN
src/blackmisc/icons/os/windows_24.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 757 B |
Reference in New Issue
Block a user