KDDockWidgets API Documentation 2.0
Loading...
Searching...
No Matches
TitleBarViewInterface.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
16namespace KDDockWidgets {
17
18namespace Core {
19
20class TitleBar;
21
23class DOCKS_EXPORT TitleBarViewInterface
24{
25public:
28#ifdef DOCKS_TESTING_METHODS
29 virtual bool isFloatButtonVisible() const = 0;
30 virtual bool isCloseButtonVisible() const = 0;
31 virtual bool isCloseButtonEnabled() const = 0;
32#endif
33protected:
37};
38
39}
40
41}
The interface that TitleBar views should implement.
TitleBarViewInterface(const TitleBarViewInterface &)=delete
TitleBarViewInterface & operator=(const TitleBarViewInterface &)=delete
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