mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-17 02:45:33 +08:00
refs #911, paste support in forms
* added paste icon * base class utility functions * implemented paste for livery, airline and aircraft ICAO
This commit is contained in:
committed by
Mathew Sutcliffe
parent
5e69be6208
commit
fc3a36512e
@@ -41,7 +41,7 @@ namespace BlackGui
|
||||
explicit CDistributorForm(QWidget *parent = nullptr);
|
||||
|
||||
//! Destructor
|
||||
~CDistributorForm();
|
||||
virtual ~CDistributorForm();
|
||||
|
||||
//! Get value
|
||||
BlackMisc::Simulation::CDistributor getValue() const;
|
||||
@@ -66,6 +66,10 @@ namespace BlackGui
|
||||
//! Set value
|
||||
bool setValue(const BlackMisc::Simulation::CDistributor &distributor = BlackMisc::Simulation::CDistributor());
|
||||
|
||||
protected:
|
||||
//! \copydoc CForm::jsonPasted
|
||||
virtual void jsonPasted(const QString &json) override;
|
||||
|
||||
private slots:
|
||||
//! Variant has been dropped
|
||||
void ps_droppedCode(const BlackMisc::CVariant &variantDropped);
|
||||
@@ -74,7 +78,6 @@ namespace BlackGui
|
||||
QScopedPointer<Ui::CDistributorForm> ui;
|
||||
bool m_readOnly = false;
|
||||
};
|
||||
|
||||
} // ns
|
||||
} //ns
|
||||
|
||||
|
||||
Reference in New Issue
Block a user