20#ifndef ORES_QT_CATALOG_HISTORY_DIALOG_HPP
21#define ORES_QT_CATALOG_HISTORY_DIALOG_HPP
27#include "ores.dq/domain/catalog.hpp"
28#include "ores.qt/ClientManager.hpp"
29#include "ores.logging/make_logger.hpp"
32class CatalogHistoryDialog;
44 inline static std::string_view logger_name =
"ores.qt.catalog_history_dialog";
46 [[nodiscard]]
static auto& lg() {
48 static auto instance = make_logger(logger_name);
55 QWidget* parent =
nullptr);
61 void statusChanged(
const QString& message);
62 void errorOccurred(
const QString& message);
68 void onVersionSelected();
69 void onOpenVersionClicked();
70 void onRevertClicked();
75 void setupConnections();
76 void updateVersionList();
77 void updateChangesTable(
int currentVersionIndex);
78 void updateFullDetails(
int versionIndex);
79 void updateActionStates();
81 Ui::CatalogHistoryDialog* ui_;
84 std::vector<dq::domain::catalog> versions_;
86 QAction* openVersionAction_;
87 QAction* revertAction_;
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
Dialog for viewing catalog version history.
Definition CatalogHistoryDialog.hpp:40
Manages the lifecycle of the network client and IO context.
Definition ClientManager.hpp:90