KDDockWidgets API Documentation 2.1
Loading...
Searching...
No Matches
qtwidgets/views/Group.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#ifndef KD_GROUP_QTWIDGETS_H
13#define KD_GROUP_QTWIDGETS_H
14
15#pragma once
16
17#include "View.h"
18#include <kddockwidgets/core/views/GroupViewInterface.h>
19
20namespace KDDockWidgets::Core {
21class Group;
22}
23
25
26class DOCKS_EXPORT Group : public View<QWidget>, public Core::GroupViewInterface
27{
28 Q_OBJECT
29public:
30 explicit Group(Core::Group *controller, QWidget *parent = nullptr);
31 void init() override;
32
33 int nonContentsHeight() const override;
34 QRect dragRect() const override;
35
36Q_SIGNALS:
40
41protected:
42 void paintEvent(QPaintEvent *) override;
43 QSize maxSizeHint() const override;
44};
45
46}
47
48#endif
The interface that Frame views should implement.

© 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