KDDockWidgets API Documentation 2.1
Loading...
Searching...
No Matches
qtquick/views/MainWindowMDI.cpp
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#include "MainWindowMDI.h"
13#include "kddockwidgets/core/MDILayout.h"
14#include "kddockwidgets/core/MainWindow.h"
15#include "MainWindow.h"
16
17using namespace KDDockWidgets;
18using namespace KDDockWidgets::Core;
19using namespace KDDockWidgets::QtQuick;
20
21MainWindowMDI::MainWindowMDI(const QString &uniqueName, QQuickItem *parent,
22 Qt::WindowFlags flags)
23 : QtQuick::MainWindow(uniqueName, MainWindowOption_MDI, parent, flags)
24 , Core::MainWindowMDIViewInterface(mainWindow()->mdiLayout())
25{
26}
27
MainWindowMDI(const QString &uniqueName, QQuickItem *parent=nullptr, Qt::WindowFlags flags=Qt::WindowFlags())
Constructor. See base class documentation.
A docking area for dock widgets Named MainWindow as it's the QtWidgets/QMainWindow counterpart....
Class to abstract QAction, so code still works with QtQuick and Flutter.
@ MainWindowOption_MDI
‍Makes the MainWindow always have a central group, for tabbing documents
typedef WindowFlags
MainWindow sub-class which uses MDI as a layout.
QMainWindow sub-class to enable KDDockWidgets support.

© 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