refs #445, models and views for new value classes

* livery
* distributor
This commit is contained in:
Klaus Basan
2015-07-10 01:11:14 +02:00
committed by Mathew Sutcliffe
parent 3c9f95356e
commit b308014bc2
12 changed files with 336 additions and 28 deletions

View File

@@ -0,0 +1,38 @@
/* Copyright (C) 2015
* 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.
*/
//! \file
#ifndef BLACKGUI_DISTRIBUTORLISTMODEL_H
#define BLACKGUI_DISTRIBUTORLISTMODEL_H
#include "blackgui/blackguiexport.h"
#include "blackmisc/simulation/distributorlist.h"
#include "blackgui/models/listmodelbase.h"
#include <QAbstractItemModel>
namespace BlackGui
{
namespace Models
{
//! Distributor list model
class BLACKGUI_EXPORT CDistributorListModel : public CListModelBase<BlackMisc::Simulation::CDistributor, BlackMisc::Simulation::CDistributorList>
{
public:
//! Constructor
explicit CDistributorListModel(QObject *parent = nullptr);
//! Destructor
virtual ~CDistributorListModel() {}
};
} // ns
} // ns
#endif // guard