20#ifndef ORES_QT_DATA_DOMAIN_CONTROLLER_HPP
21#define ORES_QT_DATA_DOMAIN_CONTROLLER_HPP
25#include "ores.qt/EntityController.hpp"
26#include "ores.qt/ClientManager.hpp"
27#include "ores.logging/make_logger.hpp"
28#include "ores.dq.api/domain/data_domain.hpp"
32class DataDomainMdiWindow;
33class DetachableMdiSubWindow;
34class ChangeReasonCache;
36class DataDomainController final :
public EntityController {
40 inline static std::string_view logger_name =
41 "ores.qt.data_domain_controller";
43 [[nodiscard]]
static auto& lg() {
45 static auto instance = make_logger(logger_name);
51 QMainWindow* mainWindow,
53 ClientManager* clientManager,
54 ChangeReasonCache* changeReasonCache,
55 const QString& username,
56 QObject* parent =
nullptr);
58 void showListWindow()
override;
59 void closeAllWindows()
override;
60 void reloadListWindow()
override;
63 void statusMessage(
const QString& message);
64 void errorMessage(
const QString& error);
68 void onAddNewRequested();
69 void onShowHistory(
const QString& name);
75 EntityListMdiWindow* listWindow()
const override;
80 void showHistoryWindow(
const QString& name);
82 ChangeReasonCache* changeReasonCache_{
nullptr};
83 DataDomainMdiWindow* 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
Represents a high-level classification of data within the system.
Definition data_domain.hpp:41