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