KDDockWidgets API Documentation 2.0
Loading...
Searching...
No Matches
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
19namespace KDDockWidgets {
20
21namespace Core {
22
23class DockWidget;
24class MDILayout;
25class DockWidgetViewInterface;
26
29{
30public:
32
35 void addDockWidget(DockWidgetViewInterface *dockWidget, Point localPos,
36 InitialOption addingOption = {});
37
38#ifdef KDDW_FRONTEND_QT
40 void addDockWidget(DockWidgetViewInterface *dockWidget, QPointF localPos,
41 InitialOption addingOption = {});
42#endif
43
44private:
45 MDILayout *const m_mdiLayout;
47 MainWindowMDIViewInterface &operator=(const MainWindowMDIViewInterface &) = delete;
48};
49
50}
51
52}
53
54#endif
The interface that DockWidget views should implement.
The MDILayout class implements a layout suitable for MDI style docking. Where dock widgets are free t...
Class to abstract QAction, so code still works with QtQuick and Flutter.
Struct describing the preferred dock widget size and visibility when adding it to a layout.

© 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