20#ifndef ORES_QT_CATALOG_CONTROLLER_HPP
21#define ORES_QT_CATALOG_CONTROLLER_HPP
26#include "ores.qt/EntityController.hpp"
27#include "ores.dq/domain/catalog.hpp"
28#include "ores.logging/make_logger.hpp"
32class CatalogMdiWindow;
33class DetachableMdiSubWindow;
42 inline static std::string_view logger_name =
"ores.qt.catalog_controller";
44 [[nodiscard]]
static auto& lg() {
46 static auto instance = make_logger(logger_name);
52 QMainWindow* mainWindow,
55 const QString& username,
56 QObject* parent =
nullptr);
67 void onAddNewRequested();
68 void onShowHistory(
const QString& name);
75 void showHistoryWindow(
const QString& name);
77 QPointer<CatalogMdiWindow> listWindow_;
78 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:35
Represents a logical grouping of related datasets.
Definition catalog.hpp:39
Controller for managing catalog-related windows.
Definition CatalogController.hpp:38
void closeAllWindows() override
Closes all windows managed by this controller. Must be implemented by derived classes.
Definition CatalogController.cpp:109
void reloadListWindow() override
Reloads the list window. Must be implemented by derived classes.
Definition CatalogController.cpp:124
EntityListMdiWindow * listWindow() const override
Returns the list window for marking as stale on notifications.
Definition CatalogController.cpp:57
void showListWindow() override
Shows the main list window for this entity. Must be implemented by derived classes.
Definition CatalogController.cpp:61
Manages the lifecycle of the network client and IO context.
Definition ClientManager.hpp:90
Abstract base class for entity controllers.
Definition EntityController.hpp:50
Base class for entity list MDI windows providing stale indicator support.
Definition EntityListMdiWindow.hpp:56