KDDockWidgets API Documentation
2.0
Loading...
Searching...
No Matches
source
src
core
views
SideBarViewInterface.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
14
#include "kddockwidgets/docks_export.h"
15
16
namespace
KDDockWidgets
{
17
18
namespace
Core {
19
20
class
DockWidget
;
21
class
SideBar
;
22
24
class
DOCKS_EXPORT
SideBarViewInterface
25
{
26
public
:
27
explicit
SideBarViewInterface
(
SideBar
*);
28
virtual
~SideBarViewInterface
();
29
virtual
void
addDockWidget_Impl
(
DockWidget
*dock) = 0;
30
virtual
void
removeDockWidget_Impl
(
DockWidget
*dock) = 0;
31
32
SideBar
*sideBar()
const
;
33
34
protected
:
35
SideBar
*
const
m_sideBar
;
36
SideBarViewInterface
(
const
SideBarViewInterface
&) =
delete
;
37
SideBarViewInterface
&
operator=
(
const
SideBarViewInterface
&) =
delete
;
38
};
39
40
}
41
42
}
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::SideBarViewInterface
The interface that SideBar views should implement.
Definition
SideBarViewInterface.h:25
KDDockWidgets::Core::SideBarViewInterface::m_sideBar
SideBar *const m_sideBar
Definition
SideBarViewInterface.h:35
KDDockWidgets::Core::SideBarViewInterface::operator=
SideBarViewInterface & operator=(const SideBarViewInterface &)=delete
KDDockWidgets::Core::SideBarViewInterface::removeDockWidget_Impl
virtual void removeDockWidget_Impl(DockWidget *dock)=0
KDDockWidgets::Core::SideBarViewInterface::SideBarViewInterface
SideBarViewInterface(const SideBarViewInterface &)=delete
KDDockWidgets::Core::SideBarViewInterface::addDockWidget_Impl
virtual void addDockWidget_Impl(DockWidget *dock)=0
KDDockWidgets::Core::SideBarViewInterface::~SideBarViewInterface
virtual ~SideBarViewInterface()
KDDockWidgets::Core::SideBar
Definition
core/SideBar.h:30
KDDockWidgets::Core::ViewType::SideBar
@ SideBar
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