20#ifndef ORES_QT_COMPUTE_CONSOLE_CONTROLLER_HPP
21#define ORES_QT_COMPUTE_CONSOLE_CONTROLLER_HPP
28#include "ores.qt/ClientManager.hpp"
29#include "ores.qt/DetachableMdiSubWindow.hpp"
30#include "ores.logging/make_logger.hpp"
35class ChangeReasonCache;
36class ComputeConsoleWindow;
48 inline static std::string_view logger_name =
49 "ores.qt.compute_console_controller";
51 [[nodiscard]]
static auto& lg() {
53 static auto instance = make_logger(logger_name);
59 QMainWindow* mainWindow,
64 QObject* parent =
nullptr);
67 void closeAllWindows();
68 void setHttpBaseUrl(
const std::string& url);
71 void statusMessage(
const QString& message);
72 void errorMessage(
const QString& error);
77 QMainWindow* mainWindow_;
82 std::string http_base_url_;
84 QPointer<ComputeConsoleWindow> consoleWindow_;
85 QPointer<DetachableMdiSubWindow> subWindow_;
Implements logging infrastructure for ORE Studio.
Definition boost_severity.hpp:28
Qt-based graphical user interface for ORE Studio.
Definition AboutDialog.hpp:29
Client-side cache of badge definitions and mappings.
Definition BadgeCache.hpp:46
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
Controller for the unified compute console window.
Definition ComputeConsoleController.hpp:44
QMdiSubWindow that can be detached to become a floating window.
Definition DetachableMdiSubWindow.hpp:39