mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-05-01 06:35:41 +08:00
Ref T442, ATC station treeview
* store expand/collapsed state * resize * clear
This commit is contained in:
@@ -35,12 +35,16 @@ namespace BlackGui
|
||||
//! Destructor
|
||||
virtual ~CAtcStationTreeModel() override {}
|
||||
|
||||
//! Set station mode
|
||||
//! Set columns
|
||||
void setColumns(const CColumns &columns) { m_columns.setColumns(columns); }
|
||||
|
||||
//! Update container
|
||||
void updateContainer(const BlackMisc::Aviation::CAtcStationList &stations);
|
||||
|
||||
//! Clear everything
|
||||
//! \remark hiding QStandardItemModel::clear()
|
||||
void clear();
|
||||
|
||||
//! Get container
|
||||
const BlackMisc::Aviation::CAtcStationList &container() const { return m_stations; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user