swift
distributorview.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (C) 2015 swift Project Community / Contributors
2 // SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-swift-pilot-client-1
3 
5 
6 #ifndef SWIFT_GUI_VIEWS_DISTRIBUTORVIEW_H
7 #define SWIFT_GUI_VIEWS_DISTRIBUTORVIEW_H
8 
10 #include "gui/swiftguiexport.h"
12 
13 class QString;
14 class QWidget;
15 
16 namespace swift::misc::simulation
17 {
18  class CDistributor;
19  class CDistributorList;
20 } // namespace swift::misc::simulation
21 
22 namespace swift::gui::views
23 {
26  public COrderableViewWithDbObjects<swift::gui::models::CDistributorListModel>
27  {
28  Q_OBJECT
29 
30  public:
32  explicit CDistributorView(QWidget *parent = nullptr);
33 
35  void setDistributorMode(swift::gui::models::CDistributorListModel::DistributorMode distributorMode);
36 
39  };
40 } // namespace swift::gui::views
41 #endif // SWIFT_GUI_VIEWS_DISTRIBUTORVIEW_H
Base class for views with DB objects also orderable (based on swift::misc::IOrderableList )
Definition: viewdbobjects.h:79
Views, mainly QTableView.
#define SWIFT_GUI_EXPORT
Export a class or function from the library.