mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-26 02:35:38 +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-error.png</file>
|
||||||
<file>icons/pastel/16/font-go.png</file>
|
<file>icons/pastel/16/font-go.png</file>
|
||||||
<file>icons/pastel/16/font-shrink.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>
|
||||||
<qresource prefix="/vatsim">
|
<qresource prefix="/vatsim">
|
||||||
<file>icons/vatsim/C1.png</file>
|
<file>icons/vatsim/C1.png</file>
|
||||||
|
|||||||
@@ -43,6 +43,7 @@ namespace BlackMisc
|
|||||||
static const CIconList icons(
|
static const CIconList icons(
|
||||||
{
|
{
|
||||||
CIcon(CIcons::ApplicationAircraft, "aircraft"),
|
CIcon(CIcons::ApplicationAircraft, "aircraft"),
|
||||||
|
CIcon(CIcons::ApplicationAircraftCategories, "categories"),
|
||||||
CIcon(CIcons::ApplicationAircraftIcao, "ICAO aircraft"),
|
CIcon(CIcons::ApplicationAircraftIcao, "ICAO aircraft"),
|
||||||
CIcon(CIcons::ApplicationAirlineIcao, "ICAO airlines"),
|
CIcon(CIcons::ApplicationAirlineIcao, "ICAO airlines"),
|
||||||
CIcon(CIcons::ApplicationAtc, "ATC"),
|
CIcon(CIcons::ApplicationAtc, "ATC"),
|
||||||
|
|||||||
@@ -430,6 +430,18 @@ namespace BlackMisc
|
|||||||
return pm;
|
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()
|
const QPixmap &CIcons::database16()
|
||||||
{
|
{
|
||||||
static const QPixmap pm(":/pastel/icons/pastel/16/database.png");
|
static const QPixmap pm(":/pastel/icons/pastel/16/database.png");
|
||||||
@@ -894,6 +906,11 @@ namespace BlackMisc
|
|||||||
return users16();
|
return users16();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const QPixmap &CIcons::appAircraftCategories16()
|
||||||
|
{
|
||||||
|
return folderEdit16();
|
||||||
|
}
|
||||||
|
|
||||||
const QPixmap &CIcons::appDbStash16()
|
const QPixmap &CIcons::appDbStash16()
|
||||||
{
|
{
|
||||||
return databaseAdd16();
|
return databaseAdd16();
|
||||||
@@ -1119,6 +1136,7 @@ namespace BlackMisc
|
|||||||
switch (index)
|
switch (index)
|
||||||
{
|
{
|
||||||
case ApplicationAircraft: return appAircraft16();
|
case ApplicationAircraft: return appAircraft16();
|
||||||
|
case ApplicationAircraftCategories: return appAircraftCategories16();
|
||||||
case ApplicationAircraftIcao: return appAircraftIcao16();
|
case ApplicationAircraftIcao: return appAircraftIcao16();
|
||||||
case ApplicationAirlineIcao: return appAirlineIcao16();
|
case ApplicationAirlineIcao: return appAirlineIcao16();
|
||||||
case ApplicationAtc: return appAtc16();
|
case ApplicationAtc: return appAtc16();
|
||||||
|
|||||||
@@ -38,6 +38,7 @@ namespace BlackMisc
|
|||||||
{
|
{
|
||||||
// !! keep indexes alphabetically sorted and in sync with CIconList
|
// !! keep indexes alphabetically sorted and in sync with CIconList
|
||||||
ApplicationAircraft = 0,
|
ApplicationAircraft = 0,
|
||||||
|
ApplicationAircraftCategories,
|
||||||
ApplicationAircraftIcao,
|
ApplicationAircraftIcao,
|
||||||
ApplicationAirlineIcao,
|
ApplicationAirlineIcao,
|
||||||
ApplicationAtc,
|
ApplicationAtc,
|
||||||
@@ -407,6 +408,12 @@ namespace BlackMisc
|
|||||||
//! Font
|
//! Font
|
||||||
static const QPixmap &font16();
|
static const QPixmap &font16();
|
||||||
|
|
||||||
|
//! Folder
|
||||||
|
static const QPixmap &folder16();
|
||||||
|
|
||||||
|
//! Folder edit
|
||||||
|
static const QPixmap &folderEdit16();
|
||||||
|
|
||||||
//! Arrow
|
//! Arrow
|
||||||
static const QPixmap &arrowMediumNorth16();
|
static const QPixmap &arrowMediumNorth16();
|
||||||
|
|
||||||
@@ -628,6 +635,9 @@ namespace BlackMisc
|
|||||||
//! Distributors
|
//! Distributors
|
||||||
static const QPixmap &appDistributors16();
|
static const QPixmap &appDistributors16();
|
||||||
|
|
||||||
|
//! Categories
|
||||||
|
static const QPixmap &appAircraftCategories16();
|
||||||
|
|
||||||
//! Stash
|
//! Stash
|
||||||
static const QPixmap &appDbStash16();
|
static const QPixmap &appDbStash16();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user