20#ifndef ORES_QT_FLOATING_INDEX_TYPE_HISTORY_DIALOG_HPP
21#define ORES_QT_FLOATING_INDEX_TYPE_HISTORY_DIALOG_HPP
25#include <QTableWidget>
26#include "ores.qt/ClientManager.hpp"
27#include "ores.logging/make_logger.hpp"
28#include "ores.trading.api/domain/floating_index_type.hpp"
31class FloatingIndexTypeHistoryDialog;
46 inline static std::string_view logger_name =
47 "ores.qt.floating_index_type_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::FloatingIndexTypeHistoryDialog* ui_;
88 std::vector<trading::domain::floating_index_type> 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:29
Manages the lifecycle of the NATS client and login state.
Definition ClientManager.hpp:109
Dialog for viewing the version history of a floating index type.
Definition FloatingIndexTypeHistoryDialog.hpp:42
Interest rate floating index code (e.g. EUR-EURIBOR-6M, USD-SOFR).
Definition floating_index_type.hpp:35