KDDockWidgets API Documentation
1.6
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
c
d
f
i
l
m
o
q
r
s
t
w
Functions
Typedefs
Enumerations
Enumerator
a
c
d
f
l
m
r
s
t
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
l
m
o
p
q
r
s
t
u
v
w
x
y
~
Functions
a
b
c
d
e
f
g
h
i
l
m
o
p
q
r
s
t
u
w
x
y
~
Variables
Typedefs
Enumerations
Enumerator
c
f
i
o
Properties
Files
File List
File Members
All
a
b
c
d
f
h
i
k
l
m
o
p
q
r
s
v
w
Functions
Variables
Enumerations
Enumerator
Macros
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Macros
Pages
source
src
MDIArea.h
Go to the documentation of this file.
1
/*
2
This file is part of KDDockWidgets.
3
4
SPDX-FileCopyrightText: 2020-2022 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.h
"
17
#include "
QWidgetAdapter.h
"
18
19
#include <QWidget>
20
21
namespace
KDDockWidgets
{
22
23
class
MDILayoutWidget;
24
class
DockWidgetBase;
25
class
Frame;
26
36
class
DOCKS_EXPORT
MDIArea
:
public
QWidgetAdapter
37
{
38
Q_OBJECT
39
public
:
40
explicit
MDIArea
(
QWidgetOrQuick
*parent =
nullptr
);
41
~
MDIArea
();
42
44
void
addDockWidget(
DockWidgetBase
*dw,
QPoint
localPt,
InitialOption
addingOption = {});
45
47
void
moveDockWidget(
DockWidgetBase
*dw,
QPoint
pos);
48
50
void
resizeDockWidget(
DockWidgetBase
*dw,
QSize
size);
51
54
QList<Frame *>
frames()
const
;
55
58
void
onCloseEvent(
QCloseEvent
*)
override
;
59
60
private
:
61
class
Private;
62
Private *
const
d;
63
};
64
65
}
66
67
#endif
KDDockWidgets.h
File with KDDockWidgets namespace-level enums and methods.
KDDockWidgets::InitialOption
Struct describing the preferred dock widget size and visibility when adding it to a layout.
Definition:
KDDockWidgets.h:101
QWidget
QSize
QList
QWidgetAdapter.h
Abstraction for supporting both QtWidgets and QtQuick.
QCloseEvent
KDDockWidgets::DockWidgetBase
The DockWidget base-class. DockWidget and DockWidgetBase are only split in two so we can share some c...
Definition:
DockWidgetBase.h:61
KDDockWidgets
Definition:
Config.cpp:37
KDDockWidgets::MDIArea
MDIArea allows to host dock widget in MDI mode. This is an alternative to using a full blown MainWind...
Definition:
MDIArea.h:37
QPoint
© 2019-2022 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 on Thu Sep 15 2022 00:16:29 for KDDockWidgets API Documentation by doxygen 1.8.20