mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-04 08:36:52 +08:00
Ref T472, icons for category
This commit is contained in:
committed by
Mat Sutcliffe
parent
74be37339e
commit
af445b33e9
@@ -109,6 +109,16 @@
|
||||
<file>icons/pastel/16/font-error.png</file>
|
||||
<file>icons/pastel/16/font-go.png</file>
|
||||
<file>icons/pastel/16/font-shrink.png</file>
|
||||
<file>icons/pastel/16/folder.png</file>
|
||||
<file>icons/pastel/16/folder-add.png</file>
|
||||
<file>icons/pastel/16/folder-blue.png</file>
|
||||
<file>icons/pastel/16/folder-disk.png</file>
|
||||
<file>icons/pastel/16/folder-edit.png</file>
|
||||
<file>icons/pastel/16/folder-explore.png</file>
|
||||
<file>icons/pastel/16/folder-export.png</file>
|
||||
<file>icons/pastel/16/folder-green.png</file>
|
||||
<file>icons/pastel/16/folder-pink.png</file>
|
||||
<file>icons/pastel/16/folder-purple.png</file>
|
||||
</qresource>
|
||||
<qresource prefix="/vatsim">
|
||||
<file>icons/vatsim/C1.png</file>
|
||||
|
||||
@@ -43,6 +43,7 @@ namespace BlackMisc
|
||||
static const CIconList icons(
|
||||
{
|
||||
CIcon(CIcons::ApplicationAircraft, "aircraft"),
|
||||
CIcon(CIcons::ApplicationAircraftCategories, "categories"),
|
||||
CIcon(CIcons::ApplicationAircraftIcao, "ICAO aircraft"),
|
||||
CIcon(CIcons::ApplicationAirlineIcao, "ICAO airlines"),
|
||||
CIcon(CIcons::ApplicationAtc, "ATC"),
|
||||
|
||||
@@ -430,6 +430,18 @@ namespace BlackMisc
|
||||
return pm;
|
||||
}
|
||||
|
||||
const QPixmap &CIcons::folder16()
|
||||
{
|
||||
static const QPixmap pm(":/pastel/icons/pastel/16/folder.png");
|
||||
return pm;
|
||||
}
|
||||
|
||||
const QPixmap &CIcons::folderEdit16()
|
||||
{
|
||||
static const QPixmap pm(":/pastel/icons/pastel/16/folder-edit.png");
|
||||
return pm;
|
||||
}
|
||||
|
||||
const QPixmap &CIcons::database16()
|
||||
{
|
||||
static const QPixmap pm(":/pastel/icons/pastel/16/database.png");
|
||||
@@ -894,6 +906,11 @@ namespace BlackMisc
|
||||
return users16();
|
||||
}
|
||||
|
||||
const QPixmap &CIcons::appAircraftCategories16()
|
||||
{
|
||||
return folderEdit16();
|
||||
}
|
||||
|
||||
const QPixmap &CIcons::appDbStash16()
|
||||
{
|
||||
return databaseAdd16();
|
||||
@@ -1119,6 +1136,7 @@ namespace BlackMisc
|
||||
switch (index)
|
||||
{
|
||||
case ApplicationAircraft: return appAircraft16();
|
||||
case ApplicationAircraftCategories: return appAircraftCategories16();
|
||||
case ApplicationAircraftIcao: return appAircraftIcao16();
|
||||
case ApplicationAirlineIcao: return appAirlineIcao16();
|
||||
case ApplicationAtc: return appAtc16();
|
||||
|
||||
@@ -38,6 +38,7 @@ namespace BlackMisc
|
||||
{
|
||||
// !! keep indexes alphabetically sorted and in sync with CIconList
|
||||
ApplicationAircraft = 0,
|
||||
ApplicationAircraftCategories,
|
||||
ApplicationAircraftIcao,
|
||||
ApplicationAirlineIcao,
|
||||
ApplicationAtc,
|
||||
@@ -407,6 +408,12 @@ namespace BlackMisc
|
||||
//! Font
|
||||
static const QPixmap &font16();
|
||||
|
||||
//! Folder
|
||||
static const QPixmap &folder16();
|
||||
|
||||
//! Folder edit
|
||||
static const QPixmap &folderEdit16();
|
||||
|
||||
//! Arrow
|
||||
static const QPixmap &arrowMediumNorth16();
|
||||
|
||||
@@ -628,6 +635,9 @@ namespace BlackMisc
|
||||
//! Distributors
|
||||
static const QPixmap &appDistributors16();
|
||||
|
||||
//! Categories
|
||||
static const QPixmap &appAircraftCategories16();
|
||||
|
||||
//! Stash
|
||||
static const QPixmap &appDbStash16();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user