20#ifndef ORES_QT_CATALOG_DETAIL_DIALOG_HPP
21#define ORES_QT_CATALOG_DETAIL_DIALOG_HPP
24#include "ores.dq/domain/catalog.hpp"
25#include "ores.qt/ClientManager.hpp"
26#include "ores.qt/DetailDialogBase.hpp"
27#include "ores.logging/make_logger.hpp"
30class CatalogDetailDialog;
42 inline static std::string_view logger_name =
"ores.qt.catalog_detail_dialog";
44 [[nodiscard]]
static auto& lg() {
46 static auto instance = make_logger(logger_name);
55 void setUsername(
const std::string& username);
57 void setCreateMode(
bool createMode);
58 void setReadOnly(
bool readOnly);
61 void catalogSaved(
const QString& name);
62 void catalogDeleted(
const QString& name);
66 void onDeleteClicked();
69 void updateUiFromCatalog();
70 void updateCatalogFromUi();
72 Ui::CatalogDetailDialog* ui_;
74 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
Represents a logical grouping of related datasets.
Definition catalog.hpp:39
Dialog for viewing and editing catalog details.
Definition CatalogDetailDialog.hpp:38
Manages the lifecycle of the network client and IO context.
Definition ClientManager.hpp:90
Base class for all detail dialogs.
Definition DetailDialogBase.hpp:54