KDDockWidgets API Documentation
1.4
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
f
l
m
r
s
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
MainWindowMDI.h
Go to the documentation of this file.
1
/*
2
This file is part of KDDockWidgets.
3
4
SPDX-FileCopyrightText: 2019-2021 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
19
#ifndef KD_MAINWINDOW_MDI_H
20
#define KD_MAINWINDOW_MDI_H
21
22
#ifdef KDDOCKWIDGETS_QTWIDGETS
23
#include "
MainWindow.h
"
24
#else
25
#include "private/quick/MainWindowQuick_p.h"
26
#endif
27
28
namespace
KDDockWidgets
{
29
31
class
DOCKS_EXPORT
MainWindowMDI
:
public
KDDockWidgets::MDIMainWindowBase
32
{
33
Q_OBJECT
34
public
:
36
explicit
MainWindowMDI
(
const
QString
&uniqueName,
WidgetType
*parent =
nullptr
,
37
Qt::WindowFlags
flags =
Qt::WindowFlags
());
38
40
~
MainWindowMDI
()
override
;
41
44
void
addDockWidget(
DockWidgetBase
*dockWidget,
QPoint
localPos,
InitialOption
addingOption = {});
45
47
void
addDockWidget(
DockWidgetBase
*dockWidget,
QPointF
localPos,
InitialOption
addingOption = {});
48
};
49
50
}
51
52
#endif
KDDockWidgets::InitialOption
Struct describing the preferred dock widget size and visibility when adding it to a layout.
Definition:
KDDockWidgets.h:103
QWidget
QPointF
Qt::WindowFlags
typedef WindowFlags
QString
KDDockWidgets::MainWindowMDI
MainWindow sub-class which uses MDI as a layout.
Definition:
MainWindowMDI.h:32
MainWindow.h
QMainWindow sub-class to enable KDDockWidgets support.
KDDockWidgets::MainWindow
The QMainwindow sub-class that the application should use to be able to dock KDDockWidget::DockWidget...
Definition:
MainWindow.h:33
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:36
QPoint
© 2019-2021 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 Mon Nov 15 2021 00:17:28 for KDDockWidgets API Documentation by doxygen 1.8.20