4#ifndef QQMLPREVIEWHANDLER_H
5#define QQMLPREVIEWHANDLER_H
20#include <QtCore/qobject.h>
21#include <QtCore/qvector.h>
22#include <QtCore/qrect.h>
23#include <QtCore/qpointer.h>
24#include <QtCore/qelapsedtimer.h>
25#include <QtQml/qqmlengine.h>
31class QQmlPreviewUrlInterceptor;
72 void tryCreateObject();
73 void showObject(
QObject *
object);
76 void beforeSynchronizing();
77 void afterSynchronizing();
78 void beforeRendering();
89 qreal m_zoomFactor = 1.0;
90 bool m_supportsMultipleWindows;
103 quint16 min = std::numeric_limits<quint16>::max();
109 FrameTime m_rendering;
110 FrameTime m_synchronizing;
QObject * parent() const
Returns a pointer to the parent object.
The QQmlEngine class provides an environment for instantiating QML components.
void zoom(qreal newFactor)
QQuickItem * currentRootItem()
bool eventFilter(QObject *obj, QEvent *event) override
Filters events if this object has been installed as an event filter for the watched object.
void fps(const FpsInfo &info)
void removeEngine(QQmlEngine *engine)
void error(const QString &message)
void addEngine(QQmlEngine *engine)
void loadUrl(const QUrl &url)
The QQuickItem class provides the most basic of all visual items in \l {Qt Quick}.
\qmltype Window \instantiates QQuickWindow \inqmlmodule QtQuick
\macro QT_RESTRICTED_CAST_FROM_ASCII
Combined button and popup list for selecting options.
GLuint GLsizei const GLchar * message
QFileInfo info(fileName)
[8]
QUrl url("example.com")
[constructor-url-reference]