20#ifndef ORES_QT_CATALOG_CONTROLLER_HPP
21#define ORES_QT_CATALOG_CONTROLLER_HPP
26#include "ores.qt/EntityController.hpp"
27#include "ores.dq.api/domain/catalog.hpp"
28#include "ores.logging/make_logger.hpp"
32class CatalogMdiWindow;
33class DetachableMdiSubWindow;
34class ChangeReasonCache;
43 inline static std::string_view logger_name =
"ores.qt.catalog_controller";
45 [[nodiscard]]
static auto& lg() {
47 static auto instance = make_logger(logger_name);
53 QMainWindow* mainWindow,
57 const QString& username,
58 QObject* parent =
nullptr);
69 void onAddNewRequested();
70 void onShowHistory(
const QString& name);
77 void showHistoryWindow(
const QString& name);
80 QPointer<CatalogMdiWindow> listWindow_;
81 QPointer<DetachableMdiSubWindow> listMdiSubWindow_;
Implements logging infrastructure for ORE Studio.
Definition boost_severity.hpp:28
Qt-based graphical user interface for ORE Studio.
Definition AboutDialog.hpp:29
Represents a logical grouping of related datasets.
Definition catalog.hpp:39
Controller for managing catalog-related windows.
Definition CatalogController.hpp:39
void closeAllWindows() override
Closes all windows managed by this controller. Must be implemented by derived classes.
Definition CatalogController.cpp:112
void reloadListWindow() override
Reloads the list window. Must be implemented by derived classes.
Definition CatalogController.cpp:127
EntityListMdiWindow * listWindow() const override
Returns the list window for marking as stale on notifications.
Definition CatalogController.cpp:60
void showListWindow() override
Shows the main list window for this entity. Must be implemented by derived classes.
Definition CatalogController.cpp:64
Shared cache for change reasons used across all entity dialogs.
Definition ChangeReasonCache.hpp:47
Manages the lifecycle of the NATS client and login state.
Definition ClientManager.hpp:109
Abstract base class for entity controllers.
Definition EntityController.hpp:50
Base class for entity list MDI windows providing stale indicator support.
Definition EntityListMdiWindow.hpp:62