20#ifndef ORES_QT_CONNECTION_DETAIL_PANEL_HPP
21#define ORES_QT_CONNECTION_DETAIL_PANEL_HPP
24#include <QStackedWidget>
28#include <boost/uuid/uuid.hpp>
29#include "ores.connections/domain/folder.hpp"
30#include "ores.connections/domain/server_environment.hpp"
31#include "ores.logging/make_logger.hpp"
33namespace ores::connections::service {
34class connection_manager;
51 inline static std::string_view logger_name =
52 "ores.qt.connection_detail_panel";
54 [[nodiscard]]
static auto& lg() {
56 static auto instance = make_logger(logger_name);
63 QWidget* parent =
nullptr);
66 void showEmptyState();
71 void setupEmptyPage();
72 void setupFolderPage();
73 void setupEnvironmentPage();
74 void updateTagBadges(
const boost::uuids::uuid& envId);
78 QStackedWidget* stackedWidget_;
85 QLabel* folderNameLabel_;
86 QLabel* folderItemCountLabel_;
87 QLabel* folderDescriptionLabel_;
90 QWidget* environmentPage_;
91 QLabel* envNameLabel_;
92 QLabel* envHostLabel_;
93 QLabel* envPortLabel_;
94 QLabel* envUsernameLabel_;
95 QLabel* envDescriptionLabel_;
96 QWidget* envTagsContainer_;
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 folder for organizing server connections hierarchically.
Definition folder.hpp:35
Represents a server connection/environment configuration.
Definition server_environment.hpp:39
High-level service for managing server connections.
Definition connection_manager.hpp:48
Utilities for reading environment variables.
Definition environment.hpp:31
Detail panel showing read-only information about selected item.
Definition ConnectionDetailPanel.hpp:47