20#ifndef ORES_QT_ORIGIN_DIMENSION_HISTORY_DIALOG_HPP
21#define ORES_QT_ORIGIN_DIMENSION_HISTORY_DIALOG_HPP
25#include <QTableWidget>
26#include "ores.qt/ClientManager.hpp"
27#include "ores.logging/make_logger.hpp"
28#include "ores.dq/domain/origin_dimension.hpp"
31class OriginDimensionHistoryDialog;
46 inline static std::string_view logger_name =
47 "ores.qt.origin_dimension_history_dialog";
49 [[nodiscard]]
static auto& lg() {
51 static auto instance = make_logger(logger_name);
59 QWidget* parent =
nullptr);
65 void statusChanged(
const QString& message);
66 void errorOccurred(
const QString& error_message);
72 void onVersionSelected();
73 void onOpenVersionClicked();
74 void onRevertClicked();
79 void setupConnections();
80 void updateVersionList();
81 void updateChangesTable(
int currentVersionIndex);
82 void updateFullDetails(
int versionIndex);
83 void updateActionStates();
85 Ui::OriginDimensionHistoryDialog* ui_;
88 std::vector<dq::domain::origin_dimension> versions_;
91 QAction* openVersionAction_;
92 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
Classifies datasets by their origin or source type.
Definition origin_dimension.hpp:39
Manages the lifecycle of the network client and IO context.
Definition ClientManager.hpp:90
Dialog for viewing the version history of an origin dimension.
Definition OriginDimensionHistoryDialog.hpp:42