20#ifndef ORES_QT_ROLE_CONTROLLER_HPP
21#define ORES_QT_ROLE_CONTROLLER_HPP
24#include "ores.qt/EntityController.hpp"
25#include "ores.logging/make_logger.hpp"
26#include "ores.iam/domain/role.hpp"
30class DetachableMdiSubWindow;
46 inline static std::string_view logger_name =
47 "ores.qt.role_controller";
49 [[nodiscard]]
static auto& lg() {
51 static auto instance = make_logger(logger_name);
66 QMainWindow* mainWindow,
69 const QString& username,
70 QObject* parent =
nullptr);
107 QPointer<DetachableMdiSubWindow> roleListWindow_;
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 named collection of permissions that can be assigned to accounts.
Definition role.hpp:39
Manages the lifecycle of the network client and IO context.
Definition ClientManager.hpp:90
Abstract base class for entity controllers.
Definition EntityController.hpp:50
Controller managing all role-related windows and operations.
Definition RoleController.hpp:42
void closeAllWindows() override
Closes all windows managed by this controller.
Definition RoleController.cpp:112
void reloadListWindow() override
Reloads the list window. Must be implemented by derived classes.
Definition RoleController.cpp:118
void showListWindow() override
Shows the role list window.
Definition RoleController.cpp:47
~RoleController() override
Destroys the role controller.
Definition RoleController.cpp:43