KDDockWidgets API Documentation 2.0
Loading...
Searching...
No Matches
StackViewInterface.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
17namespace KDDockWidgets {
18
19namespace Core {
20
21class Stack;
22
24class DOCKS_EXPORT StackViewInterface
25{
26public:
27 explicit StackViewInterface(Stack *);
29
35 virtual bool isPositionDraggable(Point p) const;
36
39 virtual void setDocumentMode(bool);
40
41protected:
42 Stack *const m_stack;
45};
46
47}
48
49}
The interface that Stack views share.
StackViewInterface(const StackViewInterface &)=delete
StackViewInterface & operator=(const StackViewInterface &)=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