KDDockWidgets API Documentation 2.1
Loading...
Searching...
No Matches
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
16namespace KDDockWidgets {
17
18namespace Core {
19
20class DockWidget;
21class SideBar;
22
24class DOCKS_EXPORT SideBarViewInterface
25{
26public:
27 explicit SideBarViewInterface(SideBar *);
29 virtual void addDockWidget_Impl(DockWidget *dock) = 0;
30 virtual void removeDockWidget_Impl(DockWidget *dock) = 0;
31
32 SideBar *sideBar() const;
33
34protected:
38};
39
40}
41
42}
The DockWidget base-class. DockWidget and Core::DockWidget are only split in two so we can share some...
The interface that SideBar views should implement.
SideBarViewInterface & operator=(const SideBarViewInterface &)=delete
virtual void removeDockWidget_Impl(DockWidget *dock)=0
SideBarViewInterface(const SideBarViewInterface &)=delete
virtual void addDockWidget_Impl(DockWidget *dock)=0
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