KDDockWidgets API Documentation
2.1
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
f
g
h
i
j
l
m
n
o
p
q
r
s
t
v
w
Functions
a
b
c
d
f
g
i
j
l
m
o
p
q
r
s
t
w
Variables
a
r
s
Typedefs
Enumerations
Enumerator
a
c
d
f
l
m
r
s
Concepts
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
d
g
i
m
n
p
s
v
Typedefs
b
c
l
p
s
t
v
Enumerations
Enumerator
c
f
i
m
r
Properties
a
c
d
f
g
h
i
m
o
s
t
u
Files
File List
File Members
All
a
b
c
d
f
h
i
k
l
m
o
p
q
r
s
t
w
Functions
a
b
c
d
f
h
i
l
m
o
p
q
r
s
t
w
Variables
Enumerations
Enumerator
Macros
Examples
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Macros
Pages
Concepts
Loading...
Searching...
No Matches
source
src
core
views
MainWindowMDIViewInterface.h
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
13
#ifndef KD_MAINWINDOW_MDI_INTERFACE_H
14
#define KD_MAINWINDOW_MDI_INTERFACE_H
15
#pragma once
16
17
#include "kddockwidgets/KDDockWidgets.h"
18
19
namespace
KDDockWidgets
{
20
21
namespace
Core {
22
23
class
DockWidget
;
24
class
MDILayout
;
25
class
DockWidgetViewInterface;
26
28
class
DOCKS_EXPORT
MainWindowMDIViewInterface
29
{
30
public
:
31
explicit
MainWindowMDIViewInterface
(
MDILayout
*);
32
35
void
addDockWidget(
DockWidgetViewInterface
*dockWidget, Point localPos,
36
const
InitialOption
&addingOption = {});
37
38
#ifdef KDDW_FRONTEND_QT
40
void
addDockWidget(
DockWidgetViewInterface
*dockWidget,
QPointF
localPos,
41
const
InitialOption
&addingOption = {});
42
#endif
43
44
private
:
45
MDILayout
*
const
m_mdiLayout;
46
MainWindowMDIViewInterface
(
const
MainWindowMDIViewInterface
&) =
delete
;
47
MainWindowMDIViewInterface
&operator=(
const
MainWindowMDIViewInterface
&) =
delete
;
48
};
28
class
DOCKS_EXPORT
MainWindowMDIViewInterface
{
…
};
49
50
}
51
52
}
53
54
#endif
KDDockWidgets::Core::DockWidgetViewInterface
The interface that DockWidget views should implement.
Definition
DockWidgetViewInterface.h:27
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::MainWindowMDIViewInterface
Interface for MainWindowMDI views.
Definition
MainWindowMDIViewInterface.h:29
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
QPointF
KDDockWidgets::InitialOption
Struct describing the preferred dock widget size and visibility when adding it to a layout.
Definition
KDDockWidgets.h:176
© 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