KDDockWidgets API Documentation  1.5
Helpers.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 "Helpers_p.h"
13 #include "QWidgetAdapter.h"
14 
15 #include <QQuickItem>
16 
17 using namespace KDDockWidgets;
18 
19 qreal QtQuickHelpers::logicalDpiFactor(const QQuickItem *) const
20 {
21  return 1; // TODO: Support the actual dpi factor.
22  //return KDDockWidgets::logicalDpiFactor(item);
23 }
QWidgetAdapter.h
Abstraction for supporting both QtWidgets and QtQuick.
KDDockWidgets
Definition: Config.cpp:36

© 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:20 for KDDockWidgets API Documentation by doxygen 1.8.20