KDDockWidgets API Documentation
1.5
source
src
private
quick
RubberBandQuick.cpp
Go to the documentation of this file.
1
/*
2
This file is part of KDDockWidgets.
3
4
SPDX-FileCopyrightText: 2019-2022 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 "
RubberBandQuick.h
"
13
#include "
Config.h
"
14
15
using namespace
KDDockWidgets
;
16
17
RubberBandQuick::RubberBandQuick
(QQuickItem *parent)
18
: QWidgetAdapter(parent)
19
{
20
setVisible(
false
);
21
setZ(1000);
22
QQuickItem *visualItem = createItem(
Config::self
().qmlEngine(), QStringLiteral(
"qrc:/kddockwidgets/private/quick/qml/RubberBand.qml"
));
23
visualItem->setParent(
this
);
24
visualItem->setParentItem(
this
);
25
}
RubberBandQuick.h
Config.h
Application-wide config to tune certain behaviours of the framework.
KDDockWidgets::RubberBandQuick::RubberBandQuick
RubberBandQuick(QQuickItem *parent=nullptr)
Definition:
RubberBandQuick.cpp:17
KDDockWidgets
Definition:
Config.cpp:36
KDDockWidgets::Config::self
static Config & self()
returns the singleton Config instance
Definition:
Config.cpp:82
© 2019-2022 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 on Mon Mar 7 2022 02:01:21 for KDDockWidgets API Documentation by doxygen 1.8.20