KDDockWidgets API Documentation
2.0
Loading...
Searching...
No Matches
source
src
qtwidgets
views
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
20
namespace
KDDockWidgets::Core
{
21
class
Group;
22
}
23
24
namespace
KDDockWidgets::QtWidgets
{
25
26
class
DOCKS_EXPORT
Group
:
public
View
<QWidget>,
public
Core::GroupViewInterface
27
{
28
Q_OBJECT
29
public
:
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
36
Q_SIGNALS:
37
void
numDockWidgetsChanged
();
38
void
isInMainWindowChanged
();
39
void
isFocusedChanged
();
40
41
protected
:
42
void
paintEvent(
QPaintEvent
*)
override
;
43
QSize
maxSizeHint()
const override
;
44
};
45
46
}
47
48
#endif
KDDockWidgets::Core::GroupViewInterface
The interface that Frame views should implement.
Definition
GroupViewInterface.h:25
KDDockWidgets::Core::Group
Definition
core/Group.h:41
KDDockWidgets::QtWidgets::Group
Definition
qtwidgets/views/Group.h:27
KDDockWidgets::QtWidgets::Group::numDockWidgetsChanged
void numDockWidgetsChanged()
KDDockWidgets::QtWidgets::Group::isFocusedChanged
void isFocusedChanged()
KDDockWidgets::QtWidgets::Group::isInMainWindowChanged
void isInMainWindowChanged()
KDDockWidgets::QtWidgets::View
Definition
qtwidgets/views/View.h:36
KDDockWidgets::Core
Definition
Config.h:27
KDDockWidgets::QtWidgets
Definition
core/MainWindow.h:32
QPaintEvent
QRect
QSize
View.h
QWidget
© 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