KDDockWidgets API Documentation
2.0
Loading...
Searching...
No Matches
source
src
qtwidgets
views
MDIArea.h
Go to the documentation of this file.
1
/*
2
This file is part of KDDockWidgets.
3
4
SPDX-FileCopyrightText: 2020 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
#ifndef KDDOCKWIDGETS_MDI_AREA_H
13
#define KDDOCKWIDGETS_MDI_AREA_H
14
15
#include "kddockwidgets/docks_export.h"
16
#include "kddockwidgets/KDDockWidgets.h"
17
#include "kddockwidgets/qtwidgets/views/View.h"
18
19
namespace
KDDockWidgets
{
20
21
namespace
Core {
22
class
Group;
23
class
DockWidget
;
24
class
MDILayout
;
25
class
DockWidgetViewInterface;
26
}
27
28
namespace
QtWidgets
{
29
39
class
DOCKS_EXPORT
MDIArea
:
public
QtWidgets::View
<QWidget>
40
{
41
Q_OBJECT
42
public
:
43
explicit
MDIArea
(
QWidget
*parent =
nullptr
);
44
~MDIArea
();
45
47
void
addDockWidget(
Core::DockWidget
*dw,
QPoint
localPt,
48
InitialOption
addingOption = {});
49
51
void
moveDockWidget(
Core::DockWidget
*dw,
QPoint
pos);
52
54
void
resizeDockWidget(
Core::DockWidget
*dw,
QSize
size);
55
57
void
addDockWidget(
Core::DockWidgetViewInterface
*,
QPoint
localPt,
58
InitialOption
addingOption = {});
59
void
moveDockWidget(
Core::DockWidgetViewInterface
*,
QPoint
pos);
60
void
resizeDockWidget(
Core::DockWidgetViewInterface
*,
QSize
size);
61
64
QVector<Core::Group *>
groups()
const
;
65
66
private
:
67
class
Private;
68
Private *
const
d;
69
};
70
71
}
72
73
}
74
75
#endif
KDDockWidgets::Core::DockWidgetViewInterface
The interface that DockWidget views should implement.
Definition
DockWidgetViewInterface.h:27
KDDockWidgets::Core::DockWidget
The DockWidget base-class. DockWidget and Core::DockWidget are only split in two so we can share some...
Definition
core/DockWidget.h:60
KDDockWidgets::QtWidgets::MDIArea
MDIArea allows to host dock widget in MDI mode. This is an alternative to using a full blown MainWind...
Definition
MDIArea.h:40
KDDockWidgets::QtWidgets::View
Definition
qtwidgets/views/View.h:36
KDDockWidgets::Core::ViewType::MDILayout
@ MDILayout
KDDockWidgets::Core::ViewType::DockWidget
@ DockWidget
KDDockWidgets
Class to abstract QAction, so code still works with QtQuick and Flutter.
Definition
KDStlContainerAdaptor.h:427
KDDockWidgets::FrontendType::QtWidgets
@ QtWidgets
QPoint
QSize
QVector
QWidget
KDDockWidgets::InitialOption
Struct describing the preferred dock widget size and visibility when adding it to a layout.
Definition
KDDockWidgets.h:168
© 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