20#ifndef ORES_QT_SCHEDULER_MONITOR_MDI_WINDOW_HPP
21#define ORES_QT_SCHEDULER_MONITOR_MDI_WINDOW_HPP
29#include <QTableWidget>
32#include "ores.qt/ClientManager.hpp"
33#include "ores.logging/make_logger.hpp"
34#include "ores.scheduler.api/messaging/scheduler_protocol.hpp"
48 inline static std::string_view logger_name =
49 "ores.qt.scheduler_monitor_mdi_window";
51 [[nodiscard]]
static auto& lg() {
53 static auto instance = make_logger(logger_name);
60 QWidget* parent =
nullptr);
63 QSize sizeHint()
const override {
return {860, 500}; }
66 void statusChanged(
const QString& message);
67 void errorOccurred(
const QString& error);
73 void onAutoRefreshToggled(
bool enabled);
74 void onAutoRefreshIntervalChanged(
int seconds);
78 void applyStatus(
const std::vector<scheduler::messaging::job_schedule_status>& jobs);
94 QAction* refreshAction_;
95 QAction* autoRefreshAction_;
96 QSpinBox* intervalSpin_;
98 QTimer* autoRefreshTimer_;
Implements logging infrastructure for ORE Studio.
Definition boost_severity.hpp:28
Qt-based graphical user interface for ORE Studio.
Definition AccountController.hpp:32
Manages the lifecycle of the NATS client and login state.
Definition ClientManager.hpp:123
Singleton MDI window showing a live per-job scheduler status.
Definition SchedulerMonitorMdiWindow.hpp:44