KDDockWidgets API Documentation 1.7
Loading...
Searching...
No Matches
Namespaces | Functions
QWidgetAdapter_quick.cpp File Reference

A class that is QWidget when building for QtWidgets, and QObject when building for QtQuick. More...

#include "QWidgetAdapter.h"
#include "MainWindowBase.h"
#include "../DockRegistry_p.h"
#include "../Utils_p.h"
#include "../FloatingWindow_p.h"
#include "../multisplitter/Item_p.h"
#include <QResizeEvent>
#include <QMouseEvent>
#include <QQmlComponent>
#include <QQuickItem>
#include <QQmlEngine>
#include <QQuickView>
#include <QScopedValueRollback>
#include <qpa/qplatformwindow.h>
#include <QtGui/private/qhighdpiscaling_p.h>
#include "QWidgetAdapter_quick.moc"
Include dependency graph for QWidgetAdapter_quick.cpp:

Go to the source code of this file.

Namespaces

namespace  KDDockWidgets
 

Functions

static QQuickItem * actualParentItem (QQuickItem *candidateParentItem, Qt::WindowFlags flags)
 
static bool flagsAreTopLevelFlags (Qt::WindowFlags flags)
 

Detailed Description

A class that is QWidget when building for QtWidgets, and QObject when building for QtQuick.

Allows to have the same code base supporting both stacks.

Author
Sérgio Martins <sergi.nosp@m.o.ma.nosp@m.rtins.nosp@m.@kda.nosp@m.b.com>

Definition in file QWidgetAdapter_quick.cpp.

Function Documentation

◆ actualParentItem()

static QQuickItem * actualParentItem ( QQuickItem *  candidateParentItem,
Qt::WindowFlags  flags 
)
static

Definition at line 116 of file QWidgetAdapter_quick.cpp.

References flagsAreTopLevelFlags().

◆ flagsAreTopLevelFlags()

static bool flagsAreTopLevelFlags ( Qt::WindowFlags  flags)
static

Definition at line 111 of file QWidgetAdapter_quick.cpp.

References Qt::Tool, and Qt::Window.

Referenced by actualParentItem().


© 2019-2023 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 Wed Nov 1 2023 00:02:31 for KDDockWidgets API Documentation by doxygen 1.9.8