mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-25 18:25:42 +08:00
refs #911, allow to enter id for airline and aircraft ICAO
This commit is contained in:
committed by
Mathew Sutcliffe
parent
317b52a00b
commit
cc1fd0e868
@@ -24,7 +24,6 @@
|
||||
class QWidget;
|
||||
|
||||
namespace Ui { class CAircraftIcaoForm; }
|
||||
|
||||
namespace BlackGui
|
||||
{
|
||||
namespace Editors
|
||||
@@ -42,7 +41,7 @@ namespace BlackGui
|
||||
explicit CAircraftIcaoForm(QWidget *parent = nullptr);
|
||||
|
||||
//! Destructor
|
||||
~CAircraftIcaoForm();
|
||||
virtual ~CAircraftIcaoForm();
|
||||
|
||||
//! Get value
|
||||
BlackMisc::Aviation::CAircraftIcaoCode getValue() const;
|
||||
@@ -63,6 +62,9 @@ namespace BlackGui
|
||||
//! Clear
|
||||
void clear();
|
||||
|
||||
//! Reset value to current value
|
||||
void resetValue();
|
||||
|
||||
public slots:
|
||||
//! Set value
|
||||
bool setValue(const BlackMisc::Aviation::CAircraftIcaoCode &icao);
|
||||
@@ -71,6 +73,9 @@ namespace BlackGui
|
||||
//! Variant has been dropped
|
||||
void ps_droppedCode(const BlackMisc::CVariant &variantDropped);
|
||||
|
||||
//! Id has been entered
|
||||
void ps_idEntered();
|
||||
|
||||
private:
|
||||
QScopedPointer<Ui::CAircraftIcaoForm> ui;
|
||||
BlackMisc::Aviation::CAircraftIcaoCode m_originalCode;
|
||||
|
||||
Reference in New Issue
Block a user