KDDockWidgets API Documentation 1.7
Loading...
Searching...
No Matches
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
28namespace KDDockWidgets {
29
32{
33 Q_OBJECT
34public:
36 explicit MainWindowMDI(const QString &uniqueName, WidgetType *parent = nullptr,
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
QMainWindow sub-class to enable KDDockWidgets support.
The DockWidget base-class. DockWidget and DockWidgetBase are only split in two so we can share some c...
MainWindow sub-class which uses MDI as a layout.
The QMainwindow sub-class that the application should use to be able to dock KDDockWidget::DockWidget...
Definition MainWindow.h:37
typedef WindowFlags
Struct describing the preferred dock widget size and visibility when adding it to a layout.

© 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