mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-13 15:45:42 +08:00
Also added new icon as application and table view icon.
This commit is contained in:
@@ -27,10 +27,10 @@ namespace BlackMisc
|
||||
*/
|
||||
const QPixmap &CCallsign::convertToIcon(const CCallsign &callsign)
|
||||
{
|
||||
static const QPixmap app(QPixmap(":/blackmisc/icons/question.png").scaledToWidth(16, Qt::SmoothTransformation));
|
||||
static const QPixmap gnd(QPixmap(":/blackmisc/icons/question.png").scaledToWidth(16, Qt::SmoothTransformation));
|
||||
static const QPixmap del(QPixmap(":/blackmisc/icons/question.png").scaledToWidth(16, Qt::SmoothTransformation));
|
||||
static const QPixmap twr(QPixmap(":/blackmisc/icons/question.png").scaledToWidth(16, Qt::SmoothTransformation));
|
||||
static const QPixmap app(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/tower.png").scaledToWidth(16, Qt::SmoothTransformation));
|
||||
static const QPixmap twr(QPixmap(":/blackmisc/icons/tower.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));
|
||||
|
||||
@@ -20,5 +20,6 @@
|
||||
<file>icons/S3.png</file>
|
||||
<file>icons/SUP.png</file>
|
||||
<file>icons/aeropuerto.png</file>
|
||||
<file>icons/tower.png</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
||||
@@ -38,7 +38,7 @@ namespace BlackMisc
|
||||
IndexKeyObject, // just for updates
|
||||
};
|
||||
|
||||
//! \brief Function
|
||||
//! Function
|
||||
enum HotkeyFunction
|
||||
{
|
||||
HotkeyNone,
|
||||
@@ -49,7 +49,7 @@ namespace BlackMisc
|
||||
HotkeyOpacity100
|
||||
};
|
||||
|
||||
//! \brief Modifier
|
||||
//! Modifier
|
||||
enum Modifier
|
||||
{
|
||||
ModifierNone,
|
||||
@@ -66,13 +66,13 @@ namespace BlackMisc
|
||||
ModifierNum
|
||||
};
|
||||
|
||||
//! \brief Default constructor
|
||||
//! Default constructor
|
||||
CKeyboardKey();
|
||||
|
||||
//! \brief Constructor by function
|
||||
//! Constructor by function
|
||||
CKeyboardKey(HotkeyFunction function);
|
||||
|
||||
//! \brief Constructor
|
||||
//! Constructor
|
||||
CKeyboardKey(Qt::Key keyCode, quint32 nativeVirtualKey, Modifier modifier1 = ModifierNone, Modifier modifier2 = ModifierNone, const HotkeyFunction &function = HotkeyNone);
|
||||
|
||||
//! \brief Destructor
|
||||
|
||||
@@ -28,7 +28,7 @@ namespace BlackMisc
|
||||
//! Default constructor
|
||||
CKeyboardKeyList();
|
||||
|
||||
//! \brief Construct from a base class object.
|
||||
//! Construct from a base class object.
|
||||
CKeyboardKeyList(const CSequence<CKeyboardKey> &baseClass);
|
||||
|
||||
//! \copydoc CValueObject::toQVariant
|
||||
|
||||
BIN
src/blackmisc/icons/tower.png
Normal file
BIN
src/blackmisc/icons/tower.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.5 KiB |
@@ -20,7 +20,8 @@ namespace BlackMisc
|
||||
{
|
||||
namespace Settings
|
||||
{
|
||||
//! Value object encapsulating information of a server
|
||||
//! \brief Value object encapsulating information of network related settings.
|
||||
//! \remarks Not only traffic network settings, but also URLs, DBus address, ...
|
||||
class CSettingsNetwork : public BlackMisc::CValueObject
|
||||
{
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user