20#ifndef ORES_QT_METHODOLOGY_CONTROLLER_HPP
21#define ORES_QT_METHODOLOGY_CONTROLLER_HPP
25#include <boost/uuid/uuid.hpp>
26#include "ores.qt/EntityController.hpp"
27#include "ores.qt/ClientManager.hpp"
28#include "ores.logging/make_logger.hpp"
29#include "ores.dq/domain/methodology.hpp"
33class MethodologyMdiWindow;
34class DetachableMdiSubWindow;
36class MethodologyController final :
public EntityController {
40 inline static std::string_view logger_name =
41 "ores.qt.methodology_controller";
43 [[nodiscard]]
static auto& lg() {
45 static auto instance = make_logger(logger_name);
50 MethodologyController(
51 QMainWindow* mainWindow,
53 ClientManager* clientManager,
54 const QString& username,
55 QObject* parent =
nullptr);
57 void showListWindow()
override;
58 void closeAllWindows()
override;
59 void reloadListWindow()
override;
62 void statusMessage(
const QString& message);
63 void errorMessage(
const QString& error);
67 void onAddNewRequested();
68 void onShowHistory(
const boost::uuids::uuid&
id);
73 EntityListMdiWindow* listWindow()
const override;
78 void showHistoryWindow(
const boost::uuids::uuid&
id);
80 MethodologyMdiWindow* listWindow_;
81 DetachableMdiSubWindow* listMdiSubWindow_;
Implements logging infrastructure for ORE Studio.
Definition boost_severity.hpp:28
Qt-based graphical user interface for ORE Studio.
Definition AboutDialog.hpp:35
Describes a methodology for data processing or transformation.
Definition methodology.hpp:33