Files
pilotclient/src/blackgui/views/clientview.h
Klaus Basan dc3eff1c1f 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
2014-10-07 13:10:28 +02:00

32 lines
898 B
C++

/* Copyright (C) 2013
* swift project Community / Contributors
*
* This file is part of swift project. It is subject to the license terms in the LICENSE file found in the top-level
* directory of this distribution and at http://www.swift-project.org/license.html. No part of swift project,
* including this file, may be copied, modified, propagated, or distributed except according to the terms
* contained in the LICENSE file.
*/
#ifndef BLACKGUI_CLIENTVIEW_H
#define BLACKGUI_CLIENTVIEW_H
//! \file
#include "viewbase.h"
#include "../models/clientlistmodel.h"
namespace BlackGui
{
namespace Views
{
//! Client view
class CClientView : public CViewBase<Models::CClientListModel, BlackMisc::Network::CClientList>
{
public:
//! Constructor
explicit CClientView(QWidget *parent = nullptr);
};
}
}
#endif // guard