KDDockWidgets API Documentation
2.0
Loading...
Searching...
No Matches
source
src
core
views
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
17
namespace
KDDockWidgets
{
18
19
namespace
Core {
20
class
DockWidget
;
21
class
Group;
22
24
class
DOCKS_EXPORT
GroupViewInterface
25
{
26
public
:
27
explicit
GroupViewInterface
(
Group
*);
28
virtual
~GroupViewInterface
();
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
46
protected
:
47
Group
*
const
m_group
;
48
GroupViewInterface
(
const
GroupViewInterface
&) =
delete
;
49
GroupViewInterface
&
operator=
(
const
GroupViewInterface
&) =
delete
;
50
};
51
52
}
53
54
}
KDDockWidgets::Core::DockWidget
The DockWidget base-class. DockWidget and Core::DockWidget are only split in two so we can share some...
Definition
core/DockWidget.h:60
KDDockWidgets::Core::GroupViewInterface
The interface that Frame views should implement.
Definition
GroupViewInterface.h:25
KDDockWidgets::Core::GroupViewInterface::GroupViewInterface
GroupViewInterface(const GroupViewInterface &)=delete
KDDockWidgets::Core::GroupViewInterface::~GroupViewInterface
virtual ~GroupViewInterface()
KDDockWidgets::Core::GroupViewInterface::nonContentsHeight
virtual int nonContentsHeight() const =0
Returns the height of the "non-dockwidget" part. i.e.: the height of the titlebar (if any),...
KDDockWidgets::Core::GroupViewInterface::m_group
Group *const m_group
Definition
GroupViewInterface.h:47
KDDockWidgets::Core::GroupViewInterface::operator=
GroupViewInterface & operator=(const GroupViewInterface &)=delete
KDDockWidgets::Core::Group
Definition
core/Group.h:41
KDDockWidgets::Core::ViewType::DockWidget
@ DockWidget
KDDockWidgets
Class to abstract QAction, so code still works with QtQuick and Flutter.
Definition
KDStlContainerAdaptor.h:427
© 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