mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-16 18:35:35 +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:
@@ -20,7 +20,7 @@ namespace BlackGui
|
||||
namespace Views
|
||||
{
|
||||
//! Client view
|
||||
class CClientView : public CViewBase<Models::CClientListModel>
|
||||
class CClientView : public CViewBase<Models::CClientListModel, BlackMisc::Network::CClientList>
|
||||
{
|
||||
public:
|
||||
//! Constructor
|
||||
|
||||
Reference in New Issue
Block a user