KDDockWidgets API Documentation
2.1
Loading...
Searching...
No Matches
source
src
qtwidgets
views
qtwidgets/views/MDILayout.cpp
Go to the documentation of this file.
1
/*
2
This file is part of KDDockWidgets.
3
4
SPDX-FileCopyrightText: 2019 Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.com>
5
Author: SĂ©rgio Martins <sergio.martins@kdab.com>
6
7
SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only
8
9
Contact KDAB at <info@kdab.com> for commercial licensing options.
10
*/
11
12
#include "
MDILayout.h
"
13
#include "kddockwidgets/core/MDILayout.h"
14
#include "core/View_p.h"
15
16
using namespace
KDDockWidgets
;
17
using namespace
KDDockWidgets::QtWidgets
;
18
19
MDILayout::MDILayout
(
Core::MDILayout
*controller,
Core::View
*parent)
20
:
QtWidgets
::
View
<
QWidget
>(controller, Core::ViewType::
MDILayout
, QtCommon::View_qt::asQWidget(parent))
21
, m_controller(controller)
22
{
23
Q_ASSERT(
controller
);
24
}
25
26
MDILayout::~MDILayout
()
27
{
28
if
(!
d
->freed())
29
m_controller->
viewAboutToBeDeleted
();
30
}
KDDockWidgets::Core::Layout::viewAboutToBeDeleted
void viewAboutToBeDeleted()
Definition
Layout.cpp:56
KDDockWidgets::Core::MDILayout
The MDILayout class implements a layout suitable for MDI style docking. Where dock widgets are free t...
Definition
core/MDILayout.h:33
KDDockWidgets::Core::View
Definition
core/View.h:48
KDDockWidgets::Core::View::d
Private *const d
Definition
core/View.h:257
KDDockWidgets::Core::View::controller
Controller * controller() const
Returns this view's controller.
Definition
core/View.cpp:199
KDDockWidgets::QtWidgets::MDILayout
Definition
qtwidgets/views/MDILayout.h:30
KDDockWidgets::QtWidgets::MDILayout::MDILayout
MDILayout(Core::MDILayout *controller, Core::View *parent)
Definition
qtwidgets/views/MDILayout.cpp:19
KDDockWidgets::QtWidgets::MDILayout::~MDILayout
~MDILayout()
Definition
qtwidgets/views/MDILayout.cpp:26
KDDockWidgets::QtWidgets::View
Definition
qtwidgets/views/View.h:36
KDDockWidgets::QtWidgets
Definition
core/MainWindow.h:32
KDDockWidgets
Class to abstract QAction, so code still works with QtQuick and Flutter.
Definition
KDStlContainerAdaptor.h:427
KDDockWidgets::FrontendType::QtWidgets
@ QtWidgets
MDILayout.h
QWidget
© Klarälvdalens Datakonsult AB (KDAB)
"The Qt, C++ and OpenGL Experts"
https://www.kdab.com/
KDDockWidgets
Advanced Dock Widget Framework for Qt
https://www.kdab.com/development-resources/qt-tools/kddockwidgets/
Generated by doxygen 1.9.8