20#ifndef ORES_QT_METHODOLOGY_DETAIL_DIALOG_HPP
21#define ORES_QT_METHODOLOGY_DETAIL_DIALOG_HPP
23#include <boost/uuid/uuid.hpp>
24#include "ores.qt/ClientManager.hpp"
25#include "ores.qt/DetailDialogBase.hpp"
26#include "ores.logging/make_logger.hpp"
27#include "ores.dq/domain/methodology.hpp"
30class MethodologyDetailDialog;
35class MethodologyDetailDialog final :
public DetailDialogBase {
39 inline static std::string_view logger_name =
40 "ores.qt.methodology_detail_dialog";
42 [[nodiscard]]
static auto& lg() {
44 static auto instance = make_logger(logger_name);
49 explicit MethodologyDetailDialog(QWidget* parent =
nullptr);
50 ~MethodologyDetailDialog()
override;
52 void setClientManager(ClientManager* cm) { clientManager_ = cm; }
53 void setUsername(
const std::string& username) { username_ = username; }
54 void setCreateMode(
bool create);
56 void setReadOnly(
bool readOnly);
59 void methodologySaved(
const boost::uuids::uuid&
id);
60 void methodologyDeleted(
const boost::uuids::uuid&
id);
64 void onDeleteClicked();
67 void setupConnections();
70 Ui::MethodologyDetailDialog* ui_;
71 ClientManager* clientManager_;
72 std::string username_;
Implements logging infrastructure for ORE Studio.
Definition boost_severity.hpp:28
Qt-based graphical user interface for ORE Studio.
Definition AboutDialog.hpp:35
Describes a methodology for data processing or transformation.
Definition methodology.hpp:33