KDDockWidgets API Documentation  1.5
DockWidget.h
Go to the documentation of this file.
1 /*
2  This file is part of KDDockWidgets.
3 
4  SPDX-FileCopyrightText: 2019-2022 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.
QCloseEvent
KDDockWidgets::DockWidget
Represents a dock widget.
Definition: DockWidget.h:38
QString
QEvent
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
Definition: Config.cpp:36

© 2019-2022 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 Mon Mar 7 2022 02:01:20 for KDDockWidgets API Documentation by doxygen 1.8.20