KDDockWidgets API Documentation
1.7
Loading...
Searching...
No Matches
source
src
MainWindowMDI.h
Go to the documentation of this file.
1
/*
2
This file is part of KDDockWidgets.
3
4
SPDX-FileCopyrightText: 2019-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
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
MainWindow.h
QMainWindow sub-class to enable KDDockWidgets support.
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::MainWindowMDI
MainWindow sub-class which uses MDI as a layout.
Definition
MainWindowMDI.h:32
KDDockWidgets::MainWindow
The QMainwindow sub-class that the application should use to be able to dock KDDockWidget::DockWidget...
Definition
MainWindow.h:37
KDDockWidgets
Definition
Config.cpp:37
QPoint
QPointF
QString
Qt::WindowFlags
typedef WindowFlags
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