mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-03 15:45:46 +08:00
refs #325, added async update member function to CListModelBase / CViewBase (+ resize modes)
* model: ** required a non templated base class for Q_OBJECT / slots ** added worker for thread, QConcurrent is not used as it does not work with template classes * views: ** added cpp file for view base class ** added template parameter for container in views ** different modes how resizing will be applied
This commit is contained in:
@@ -46,8 +46,7 @@ namespace BlackGui
|
||||
void CAtcStationView::changedAtcStationConnectionStatus(const Aviation::CAtcStation &station, bool added)
|
||||
{
|
||||
this->m_model->changedAtcStationConnectionStatus(station, added);
|
||||
this->resizeColumnsToContents();
|
||||
this->resizeRowsToContents();
|
||||
this->resizeToContents();
|
||||
}
|
||||
|
||||
void CAtcStationView::customMenu(QMenu &menu) const
|
||||
|
||||
Reference in New Issue
Block a user