mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 13:36:48 +08:00
* 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
32 lines
898 B
C++
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
|