KDDockWidgets API Documentation
1.7
Loading...
Searching...
No Matches
source
src
DockWidget.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_DOCKWIDGET_H
20
#define KD_DOCKWIDGET_H
21
22
#include "
DockWidgetBase.h
"
23
24
QT_BEGIN_NAMESPACE
25
class
QCloseEvent
;
26
QT_END_NAMESPACE
27
28
// clazy:excludeall=ctor-missing-parent-argument
29
30
namespace
KDDockWidgets
{
31
37
class
DOCKS_EXPORT
DockWidget
:
public
DockWidgetBase
38
{
39
Q_OBJECT
40
public
:
52
explicit
DockWidget
(
const
QString
&uniqueName, Options options = KDDockWidgets::DockWidgetBase::Options(),
53
LayoutSaverOptions layoutSaverOptions = KDDockWidgets::DockWidgetBase::LayoutSaverOptions());
54
56
~DockWidget
()
override
;
57
58
protected
:
59
bool
event(
QEvent
*)
override
;
60
void
closeEvent(
QCloseEvent
*)
override
;
61
62
private
:
63
class
Private;
64
Private *
const
d;
65
};
66
67
}
68
69
#endif
DockWidgetBase.h
The DockWidget base-class that's shared between QtWidgets and QtQuick stack.
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::DockWidget
Represents a dock widget.
Definition
DockWidget.h:38
KDDockWidgets
Definition
Config.cpp:37
QCloseEvent
QEvent
QString
© 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