KDDockWidgets API Documentation 2.1
Loading...
Searching...
No Matches
flutter/views/Stack.cpp
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#include "Stack.h"
13#include "Controller.h"
14#include "kddockwidgets/core/Stack.h"
15#include "kddockwidgets/core/TitleBar.h"
16#include "flutter/ViewFactory.h"
17#include "DockRegistry.h"
18#include "Config.h"
19#include "Window_p.h"
20#include "core/View_p.h"
21
22using namespace KDDockWidgets;
23using namespace KDDockWidgets::flutter;
24
25Stack::Stack(Core::Stack *controller, Core::View *parent)
26 : View(controller, Core::ViewType::Stack, parent)
27 , StackViewInterface(controller)
28{
29}
30
32{
33}
34
36{
37 return true;
38}
Application-wide config to tune certain behaviours of the framework.
void setDocumentMode(bool) override
Sets QTabWidget::documentMode(). Only implemented for QtWidgets. Probably not interesting for other f...
Stack(Core::Stack *controller, Core::View *parent=nullptr)
bool isPositionDraggable(Point p) const override
Reimplement if you want to support dragging by QTabWidget instead of TitleBar This is only implemente...
A factory class for allowing the user to customize some internal widgets.
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