20#ifndef ORES_QT_METHODOLOGY_CONTROLLER_HPP
21#define ORES_QT_METHODOLOGY_CONTROLLER_HPP
26#include "ores.qt/EntityController.hpp"
27#include "ores.qt/ClientManager.hpp"
28#include "ores.logging/make_logger.hpp"
29#include "ores.dq.api/domain/methodology.hpp"
33class MethodologyMdiWindow;
34class DetachableMdiSubWindow;
35class ChangeReasonCache;
37class MethodologyController final :
public EntityController {
41 inline static std::string_view logger_name =
42 "ores.qt.methodology_controller";
44 [[nodiscard]]
static auto& lg() {
46 static auto instance = make_logger(logger_name);
51 MethodologyController(
52 QMainWindow* mainWindow,
54 ClientManager* clientManager,
55 ChangeReasonCache* changeReasonCache,
56 const QString& username,
57 QObject* parent =
nullptr);
59 void showListWindow()
override;
60 void closeAllWindows()
override;
61 void reloadListWindow()
override;
64 void statusMessage(
const QString& message);
65 void errorMessage(
const QString& error);
69 void onAddNewRequested();
70 void onShowHistory(
const std::string& name);
75 EntityListMdiWindow* listWindow()
const override;
80 void showHistoryWindow(
const std::string& name);
82 ChangeReasonCache* changeReasonCache_{
nullptr};
83 MethodologyMdiWindow* listWindow_;
84 DetachableMdiSubWindow* listMdiSubWindow_;
Implements logging infrastructure for ORE Studio.
Definition boost_severity.hpp:28
Qt-based graphical user interface for ORE Studio.
Definition AccountController.hpp:32
Describes a methodology for data processing or transformation.
Definition methodology.hpp:33