KDDockWidgets API Documentation 2.0
Loading...
Searching...
No Matches
flutter/views/DockWidget.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#pragma once
13
21#include "kddockwidgets/core/views/DockWidgetViewInterface.h"
22#include "View.h"
23
24namespace KDDockWidgets {
25
26namespace Core {
27class Group;
28class TitleBar;
29}
30
31namespace flutter {
37class DOCKS_EXPORT DockWidget : public flutter::View,
39{
40public:
41 using Core::DockWidgetViewInterface::show;
42 using flutter::View::raise;
43
56 explicit DockWidget(const QString &uniqueName, DockWidgetOptions options = {},
57 LayoutSaverOptions layoutSaverOptions = {});
58
60 ~DockWidget() override;
61
63 Size minSize() const override;
64
66 Size maxSizeHint() const override;
67
68 Core::DockWidget *dockWidget() const;
69 std::shared_ptr<Core::View> focusCandidate() const override;
70
71protected:
72 void init() override;
73};
74
75}
76}
The interface that DockWidget views should implement.
The DockWidget base-class. DockWidget and Core::DockWidget are only split in two so we can share some...
Class to abstract QAction, so code still works with QtQuick and Flutter.

© 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