mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-13 15:45:42 +08:00
Tweak in icon / callsign
* conversion to Icon in callsign * toQIcon function
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
|
||||
#include "icons.h"
|
||||
#include "pqangle.h"
|
||||
#include <QIcon>
|
||||
|
||||
namespace BlackMisc
|
||||
{
|
||||
@@ -38,6 +39,9 @@ namespace BlackMisc
|
||||
//! Corresponding pixmap
|
||||
QPixmap toPixmap() const;
|
||||
|
||||
//! A QIcon
|
||||
QIcon toQIcon() const;
|
||||
|
||||
//! Icon set?
|
||||
bool isSet() const { return (this->m_index != static_cast<int>(CIcons::NotSet));}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user