mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-05-05 17:55:45 +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:
@@ -21,7 +21,7 @@ namespace BlackGui
|
||||
namespace Views
|
||||
{
|
||||
//! ATC stations view
|
||||
class CAtcStationView : public CViewBase<Models::CAtcStationListModel>
|
||||
class CAtcStationView : public CViewBase<Models::CAtcStationListModel, BlackMisc::Aviation::CAtcStationList>
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
|
||||
Reference in New Issue
Block a user