mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-20 04:25:42 +08:00
refs #911, livery form fixed
* search buttons in select mode * id can be entered
This commit is contained in:
committed by
Mathew Sutcliffe
parent
6d97f477c9
commit
317b52a00b
@@ -42,7 +42,7 @@ namespace BlackGui
|
||||
explicit CLiveryForm(QWidget *parent = nullptr);
|
||||
|
||||
//! Destructor
|
||||
~CLiveryForm();
|
||||
virtual ~CLiveryForm();
|
||||
|
||||
//! Value
|
||||
BlackMisc::Aviation::CLivery getValue() const;
|
||||
@@ -69,6 +69,9 @@ namespace BlackGui
|
||||
//! Clear data
|
||||
void clear();
|
||||
|
||||
//! Reset value to current value
|
||||
void resetValue();
|
||||
|
||||
public slots:
|
||||
//! Value
|
||||
bool setValue(const BlackMisc::Aviation::CLivery &livery);
|
||||
@@ -86,6 +89,9 @@ namespace BlackGui
|
||||
//! Search for color
|
||||
void ps_searchForColor();
|
||||
|
||||
//! Id entered
|
||||
void ps_idEntered();
|
||||
|
||||
private:
|
||||
QScopedPointer<Ui::CLiveryForm> ui;
|
||||
BlackMisc::Aviation::CLivery m_originalLivery; //!< object allowing to override values
|
||||
|
||||
Reference in New Issue
Block a user