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

© 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