Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qquickwidget_p.h>
Static Public Member Functions | |
static QQuickWidgetPrivate * | get (QQuickWidget *view) |
static const QQuickWidgetPrivate * | get (const QQuickWidget *view) |
Static Public Member Functions inherited from QWidgetPrivate | |
static QWidgetPrivate * | get (QWidget *w) |
static const QWidgetPrivate * | get (const QWidget *w) |
static void | checkRestoredGeometry (const QRect &availableGeometry, QRect *restoredGeometry, int frameHeight) |
static void | adjustFlags (Qt::WindowFlags &flags, QWidget *w=nullptr) |
static QWidget * | parentGraphicsView (const QWidget *widget) |
static QRect | screenGeometry (const QWidget *widget) |
static QRect | availableScreenGeometry (const QWidget *widget) |
static QScreen * | screen (const QWidget *widget, const QPoint &globalPosition, bool hasPosition=true) |
static QRect | screenGeometry (const QWidget *widget, const QPoint &globalPosition, bool hasPosition=true) |
static QRect | availableScreenGeometry (const QWidget *widget, const QPoint &globalPosition, bool hasPosition=true) |
static void | sendComposeStatus (QWidget *w, bool end) |
static void | setWidgetParentHelper (QObject *widgetAsObject, QObject *newParent) |
static bool | insertIntoFocusChain (const QWidgetList &toBeInserted, FocusDirection direction, QWidget *position) |
static QWidgetList | takeFromFocusChain (QWidget *from, QWidget *to, FocusDirection direction=FocusDirection::Next) |
Static Public Member Functions inherited from QObjectPrivate | |
static bool | removeConnection (Connection *c) |
static QObjectPrivate * | get (QObject *o) |
static const QObjectPrivate * | get (const QObject *o) |
template<typename Func1 , typename Func2 > | |
static QMetaObject::Connection | connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot, Qt::ConnectionType type=Qt::AutoConnection) |
template<typename Func1 , typename Func2 > | |
static bool | disconnect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot) |
static QMetaObject::Connection | connectImpl (const QObject *sender, int signal_index, const QObject *receiver, void **slot, QtPrivate::QSlotObjectBase *slotObj, int type, const int *types, const QMetaObject *senderMetaObject) |
static QMetaObject::Connection | connect (const QObject *sender, int signal_index, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type) |
static QMetaObject::Connection | connect (const QObject *sender, int signal_index, const QObject *receiver, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type) |
static bool | disconnect (const QObject *sender, int signal_index, void **slot) |
static bool | disconnect (const QObject *sender, int signal_index, const QObject *receiver, void **slot) |
Definition at line 41 of file qquickwidget_p.h.
QQuickWidgetPrivate::QQuickWidgetPrivate | ( | ) |
Definition at line 283 of file qquickwidget.cpp.
References component, depthStencil, deviceLost, eventPending, fakeHidden, forceFullUpdate, msaaBuffer, outputTexture, renderControl, requestedSamples, rhi, updatePending, and useSoftwareRenderer.
void QQuickWidgetPrivate::destroy | ( | ) |
Definition at line 306 of file qquickwidget.cpp.
References invalidateRenderControl(), and renderControl.
void QQuickWidgetPrivate::ensureBackingScene | ( | ) |
Definition at line 166 of file qquickwidget.cpp.
References useSoftwareRenderer.
Referenced by initOffscreenWindow(), and rhiConfig().
void QQuickWidgetPrivate::ensureEngine | ( | ) | const |
Definition at line 232 of file qquickwidget.cpp.
Referenced by execute().
void QQuickWidgetPrivate::execute | ( | ) |
Definition at line 316 of file qquickwidget.cpp.
References component, and ensureEngine().
|
inlinestatic |
Definition at line 48 of file qquickwidget_p.h.
|
inlinestatic |
Definition at line 47 of file qquickwidget_p.h.
|
overridevirtual |
Reimplemented from QWidgetPrivate.
Definition at line 439 of file qquickwidget.cpp.
References outputTexture, render(), rhi, and useSoftwareRenderer.
void QQuickWidgetPrivate::handleContextCreationFailure | ( | const QSurfaceFormat & | format | ) |
Definition at line 998 of file qquickwidget.cpp.
void QQuickWidgetPrivate::handleWindowChange | ( | ) |
Definition at line 252 of file qquickwidget.cpp.
References initOffscreenWindow(), and renderControl.
void QQuickWidgetPrivate::init | ( | QQmlEngine * | e = nullptr | ) |
Definition at line 185 of file qquickwidget.cpp.
References initOffscreenWindow(), and useSoftwareRenderer.
void QQuickWidgetPrivate::initializeWithRhi | ( | ) |
Definition at line 1038 of file qquickwidget.cpp.
References renderControl, and rhi.
Referenced by render().
void QQuickWidgetPrivate::initOffscreenWindow | ( | ) |
Definition at line 149 of file qquickwidget.cpp.
References ensureBackingScene().
Referenced by handleWindowChange(), and init().
void QQuickWidgetPrivate::initResize | ( | ) |
Definition at line 908 of file qquickwidget.cpp.
References updateSize().
Referenced by setRootObject().
void QQuickWidgetPrivate::invalidateRenderControl | ( | ) |
Definition at line 242 of file qquickwidget.cpp.
References renderControl, rhi, and useSoftwareRenderer.
Referenced by destroy(), and render().
|
overridevirtual |
Reimplemented from QQuickItemChangeListener.
Definition at line 340 of file qquickwidget.cpp.
void QQuickWidgetPrivate::render | ( | bool | needsSync | ) |
Definition at line 351 of file qquickwidget.cpp.
References deviceLost, forceFullUpdate, initializeWithRhi(), invalidateRenderControl(), outputTexture, renderControl, rhi, and useSoftwareRenderer.
Referenced by grabFramebuffer(), and renderSceneGraph().
void QQuickWidgetPrivate::renderSceneGraph | ( | ) |
Definition at line 416 of file qquickwidget.cpp.
References render(), and updatePending.
|
overridevirtual |
Reimplemented from QWidgetPrivate.
Definition at line 1325 of file qquickwidget.cpp.
References ensureBackingScene(), and useSoftwareRenderer.
QSize QQuickWidgetPrivate::rootObjectSize | ( | ) | const |
Definition at line 980 of file qquickwidget.cpp.
bool QQuickWidgetPrivate::setRootObject | ( | QObject * | obj | ) |
Definition at line 1290 of file qquickwidget.cpp.
References initResize().
|
overridevirtual |
Reimplemented from QWidgetPrivate.
Definition at line 1345 of file qquickwidget.cpp.
References outputTexture.
|
overridevirtual |
Reimplemented from QWidgetPrivate.
Definition at line 1350 of file qquickwidget.cpp.
void QQuickWidgetPrivate::updateFrambufferObjectSize | ( | ) |
void QQuickWidgetPrivate::updatePosition | ( | ) |
Update the position of the offscreen window, so it matches the position of the QQuickWidget.
Definition at line 969 of file qquickwidget.cpp.
void QQuickWidgetPrivate::updateSize | ( | ) |
Definition at line 919 of file qquickwidget.cpp.
Referenced by initResize().
QQmlComponent* QQuickWidgetPrivate::component |
Definition at line 84 of file qquickwidget_p.h.
Referenced by QQuickWidgetPrivate(), and execute().
QRhiRenderBuffer* QQuickWidgetPrivate::depthStencil |
Definition at line 91 of file qquickwidget_p.h.
Referenced by QQuickWidgetPrivate().
bool QQuickWidgetPrivate::deviceLost |
Definition at line 111 of file qquickwidget_p.h.
Referenced by QQuickWidgetPrivate(), and render().
|
mutable |
Definition at line 83 of file qquickwidget_p.h.
bool QQuickWidgetPrivate::eventPending |
Definition at line 101 of file qquickwidget_p.h.
Referenced by QQuickWidgetPrivate().
bool QQuickWidgetPrivate::fakeHidden |
Definition at line 103 of file qquickwidget_p.h.
Referenced by QQuickWidgetPrivate().
bool QQuickWidgetPrivate::forceFullUpdate |
Definition at line 110 of file qquickwidget_p.h.
Referenced by QQuickWidgetPrivate(), and render().
QElapsedTimer QQuickWidgetPrivate::frameTimer |
Definition at line 98 of file qquickwidget_p.h.
QVariantMap QQuickWidgetPrivate::initialProperties |
Definition at line 115 of file qquickwidget_p.h.
QSize QQuickWidgetPrivate::initialSize |
Definition at line 97 of file qquickwidget_p.h.
QRhiRenderBuffer* QQuickWidgetPrivate::msaaBuffer |
Definition at line 92 of file qquickwidget_p.h.
Referenced by QQuickWidgetPrivate().
QBackingStoreRhiSupport QQuickWidgetPrivate::offscreenRenderer |
Definition at line 113 of file qquickwidget_p.h.
QQuickWindow* QQuickWidgetPrivate::offscreenWindow |
Definition at line 86 of file qquickwidget_p.h.
QRhiTexture* QQuickWidgetPrivate::outputTexture |
Definition at line 90 of file qquickwidget_p.h.
Referenced by QQuickWidgetPrivate(), grabFramebuffer(), render(), and texture().
QQuickRenderControl* QQuickWidgetPrivate::renderControl |
Definition at line 87 of file qquickwidget_p.h.
Referenced by QQuickWidgetPrivate(), destroy(), handleWindowChange(), initializeWithRhi(), invalidateRenderControl(), and render().
int QQuickWidgetPrivate::requestedSamples |
Definition at line 105 of file qquickwidget_p.h.
Referenced by QQuickWidgetPrivate().
QQuickWidget::ResizeMode QQuickWidgetPrivate::resizeMode |
Definition at line 96 of file qquickwidget_p.h.
QBasicTimer QQuickWidgetPrivate::resizetimer |
Definition at line 85 of file qquickwidget_p.h.
QRhi* QQuickWidgetPrivate::rhi |
Definition at line 89 of file qquickwidget_p.h.
Referenced by QQuickWidgetPrivate(), grabFramebuffer(), initializeWithRhi(), invalidateRenderControl(), and render().
QPointer<QQuickItem> QQuickWidgetPrivate::root |
Definition at line 79 of file qquickwidget_p.h.
QRhiTextureRenderTarget* QQuickWidgetPrivate::rt |
Definition at line 93 of file qquickwidget_p.h.
QRhiRenderPassDescriptor* QQuickWidgetPrivate::rtRp |
Definition at line 94 of file qquickwidget_p.h.
QImage QQuickWidgetPrivate::softwareImage |
Definition at line 108 of file qquickwidget_p.h.
QUrl QQuickWidgetPrivate::source |
Definition at line 81 of file qquickwidget_p.h.
bool QQuickWidgetPrivate::updatePending |
Definition at line 102 of file qquickwidget_p.h.
Referenced by QQuickWidgetPrivate(), and renderSceneGraph().
QRegion QQuickWidgetPrivate::updateRegion |
Definition at line 109 of file qquickwidget_p.h.
QBasicTimer QQuickWidgetPrivate::updateTimer |
Definition at line 100 of file qquickwidget_p.h.
bool QQuickWidgetPrivate::useSoftwareRenderer |
Definition at line 107 of file qquickwidget_p.h.
Referenced by QQuickWidgetPrivate(), ensureBackingScene(), grabFramebuffer(), init(), invalidateRenderControl(), render(), and rhiConfig().