KDDockWidgets API Documentation 2.0
Loading...
Searching...
No Matches
GroupViewInterface.h
Go to the documentation of this file.
1/*
2 This file is part of KDDockWidgets.
3
4 SPDX-FileCopyrightText: 2020 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
14#include "kddockwidgets/docks_export.h"
15#include "kddockwidgets/QtCompat_p.h"
16
17namespace KDDockWidgets {
18
19namespace Core {
20class DockWidget;
21class Group;
22
24class DOCKS_EXPORT GroupViewInterface
25{
26public:
27 explicit GroupViewInterface(Group *);
29 virtual void removeDockWidget(DockWidget *);
30 virtual void insertDockWidget(DockWidget *, int index);
31
36 virtual int nonContentsHeight() const = 0;
37
41 virtual Rect dragRect() const;
42
43 bool isMDI() const;
44 Group *group() const;
45
46protected:
47 Group *const m_group;
50};
51
52}
53
54}
The DockWidget base-class. DockWidget and Core::DockWidget are only split in two so we can share some...
The interface that Frame views should implement.
GroupViewInterface(const GroupViewInterface &)=delete
virtual int nonContentsHeight() const =0
Returns the height of the "non-dockwidget" part. i.e.: the height of the titlebar (if any),...
GroupViewInterface & operator=(const GroupViewInterface &)=delete
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