20#ifndef ORES_QT_DETACHABLE_MDI_SUB_WINDOW_HPP
21#define ORES_QT_DETACHABLE_MDI_SUB_WINDOW_HPP
23#include <QMdiSubWindow>
28#include "ores.logging/make_logger.hpp"
29#include "ores.qt/export.hpp"
44 inline static std::string_view logger_name =
45 "ores.qt.detachable_mdi_sub_window";
47 [[nodiscard]]
static auto& lg() {
49 static auto instance = make_logger(logger_name);
57 bool isDetached()
const {
return isDetached_; }
63 void detachedStateChanged(
bool detached);
66 void contextMenuEvent(QContextMenuEvent* event)
override;
67 void closeEvent(QCloseEvent* event)
override;
71 QPointer<QMdiArea> savedMdiArea_;
72 QPoint savedMdiPosition_;
Implements logging infrastructure for ORE Studio.
Definition boost_severity.hpp:28
Qt-based graphical user interface for ORE Studio.
Definition AccountController.hpp:32
QMdiSubWindow that can be detached to become a floating window.
Definition DetachableMdiSubWindow.hpp:40