KDDockWidgets API Documentation
1.7
Loading...
Searching...
No Matches
source
src
MDIArea.h
Go to the documentation of this file.
1
/*
2
This file is part of KDDockWidgets.
3
4
SPDX-FileCopyrightText: 2020-2023 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.
QWidgetAdapter.h
Abstraction for supporting both QtWidgets and QtQuick.
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::MDIArea
MDIArea allows to host dock widget in MDI mode. This is an alternative to using a full blown MainWind...
Definition
MDIArea.h:37
KDDockWidgets
Definition
Config.cpp:37
QCloseEvent
QList
QPoint
QSize
QWidget
KDDockWidgets::InitialOption
Struct describing the preferred dock widget size and visibility when adding it to a layout.
Definition
KDDockWidgets.h:101
© 2019-2023 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 Wed Nov 1 2023 00:02:31 for KDDockWidgets API Documentation by doxygen 1.9.8