mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-18 03:15:34 +08:00
Ref T539, tree view can select objects and hence refresh ATIS display
* select signal for tree view * signal/slots and connects
This commit is contained in:
committed by
Mat Sutcliffe
parent
d68726080f
commit
cc6adc6c40
@@ -73,6 +73,9 @@ namespace BlackGui
|
||||
//! Request a text message to
|
||||
void requestTextMessageWidget(const BlackMisc::Aviation::CCallsign &callsign);
|
||||
|
||||
//! This object has been selected
|
||||
void objectSelected(const BlackMisc::Aviation::CAtcStation &station);
|
||||
|
||||
private:
|
||||
//! Used model
|
||||
const Models::CAtcStationTreeModel *stationModel() const;
|
||||
@@ -86,12 +89,18 @@ namespace BlackGui
|
||||
//! The selected object
|
||||
BlackMisc::Aviation::CAtcStation selectedObject() const;
|
||||
|
||||
//! The selected object
|
||||
BlackMisc::Aviation::CAtcStation selectedObject(const QModelIndex &index) const;
|
||||
|
||||
//! Suffix for index
|
||||
QString suffixForIndex(const QModelIndex &index);
|
||||
|
||||
//! Expanded
|
||||
void onExpanded(const QModelIndex &index);
|
||||
|
||||
//! Selected
|
||||
void onSelected(const QItemSelection &selected, const QItemSelection &deselected);
|
||||
|
||||
//! Custom menu
|
||||
void customMenu(const QPoint &point);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user