KDDockWidgets API Documentation
2.0
Loading...
Searching...
No Matches
source
src
core
views
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
16
namespace
KDDockWidgets
{
17
18
namespace
Core {
19
20
class
TitleBar
;
21
23
class
DOCKS_EXPORT
TitleBarViewInterface
24
{
25
public
:
26
explicit
TitleBarViewInterface
(
Core::TitleBar
*);
27
virtual
~TitleBarViewInterface
();
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
33
protected
:
34
Core::TitleBar
*
const
m_titleBar
;
35
TitleBarViewInterface
(
const
TitleBarViewInterface
&) =
delete
;
36
TitleBarViewInterface
&
operator=
(
const
TitleBarViewInterface
&) =
delete
;
37
};
38
39
}
40
41
}
KDDockWidgets::Core::TitleBarViewInterface
The interface that TitleBar views should implement.
Definition
TitleBarViewInterface.h:24
KDDockWidgets::Core::TitleBarViewInterface::TitleBarViewInterface
TitleBarViewInterface(const TitleBarViewInterface &)=delete
KDDockWidgets::Core::TitleBarViewInterface::m_titleBar
Core::TitleBar *const m_titleBar
Definition
TitleBarViewInterface.h:34
KDDockWidgets::Core::TitleBarViewInterface::operator=
TitleBarViewInterface & operator=(const TitleBarViewInterface &)=delete
KDDockWidgets::Core::TitleBarViewInterface::~TitleBarViewInterface
virtual ~TitleBarViewInterface()
KDDockWidgets::Core::TitleBar
Definition
core/TitleBar.h:32
KDDockWidgets::Core::ViewType::TitleBar
@ TitleBar
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