7#include <QtQuick/qtquickglobal.h>
8#include <QtQuick/qsgrendererinterface.h>
10#include <QtCore/qmetatype.h>
11#include <QtGui/qwindow.h>
12#include <QtGui/qevent.h>
13#include <QtQml/qqml.h>
14#include <QtQml/qqmldebug.h>
15#include <QtQml/qqmlinfo.h>
49 RESET resetPalette NOTIFY paletteChanged REVISION(6, 2))
50 QDOC_PROPERTY(
QWindow* transientParent READ transientParent WRITE setTransientParent NOTIFY transientParentChanged)
58 enum CreateTextureOption {
59 TextureHasAlphaChannel = 0x0001,
60 TextureHasMipmaps = 0x0002,
61 TextureOwnsGLTexture = 0x0004,
62 TextureCanUseAtlas = 0x0008,
63 TextureIsOpaque = 0x0010
67 BeforeSynchronizingStage,
68 AfterSynchronizingStage,
76 Q_FLAG(CreateTextureOptions)
78 enum SceneGraphError {
79 ContextNotAvailable = 1
98 QObject *focusObject()
const override;
107 struct GraphicsStateInfo {
108 int currentFrameSlot;
111 const GraphicsStateInfo &graphicsStateInfo();
112 void beginExternalCommands();
113 void endExternalCommands();
116#if QT_CONFIG(accessibility)
117 QAccessibleInterface *accessibleRoot()
const override;
128 static bool hasDefaultAlphaBuffer();
129 static void setDefaultAlphaBuffer(
bool useAlpha);
131 void setPersistentGraphics(
bool persistent);
132 bool isPersistentGraphics()
const;
134 void setPersistentSceneGraph(
bool persistent);
135 bool isPersistentSceneGraph()
const;
137 bool isSceneGraphInitialized()
const;
139 void scheduleRenderJob(
QRunnable *job, RenderStage schedule);
141 qreal effectiveDevicePixelRatio()
const;
148 static void setSceneGraphBackend(
const QString &backend);
149 static QString sceneGraphBackend();
162 static TextRenderType textRenderType();
163 static void setTextRenderType(TextRenderType renderType);
174 void beforeRendering();
175 void afterRendering();
195 void releaseResources();
215 void keyPressEvent(
QKeyEvent *) override;
216 void keyReleaseEvent(
QKeyEvent *) override;
219 void mouseDoubleClickEvent(
QMouseEvent *) override;
221#if QT_CONFIG(wheelevent)
222 void wheelEvent(QWheelEvent *)
override;
224#if QT_CONFIG(tabletevent)
225 void tabletEvent(QTabletEvent *)
override;
230 void cleanupSceneGraph();
231 void physicalDpiChanged();
233 void runJobsAfterSwap();
235 void handleFontDatabaseChanged();
237#ifndef QT_NO_DEBUG_STREAM
255#ifndef QT_NO_DEBUG_STREAM
static void handleScreenChanged(JNIEnv *, jclass, jint displayId)
IOBluetoothDevice * device
The QCloseEvent class contains parameters that describe a close event.
The QColor class provides colors based on RGB, HSV or CMYK values.
The QExposeEvent class contains event parameters for expose events. \inmodule QtGui.
The QFocusEvent class contains event parameters for widget focus events.
The QHideEvent class provides an event which is sent after a widget is hidden.
The QKeyEvent class describes a key event.
QQmlIncubationController instances drive the progress of QQmlIncubators.
\qmlsignal QtQuick::Window::sceneGraphError(SceneGraphError error, QString message)
QQuickGraphicsConfiguration controls lower level graphics settings for the QQuickWindow.
The QQuickGraphicsDevice class provides an opaque container for native graphics objects representing ...
The QQuickItem class provides the most basic of all visual items in \l {Qt Quick}.
Contains color groups for each QML item state. \inmodule QtQuick.
The QQuickRenderControl class provides a mechanism for rendering the Qt Quick scenegraph onto an offs...
The QQuickRenderTarget class provides an opaque container for native graphics resources specifying a ...
\qmltype Window \instantiates QQuickWindow \inqmlmodule QtQuick
void frameSwapped()
This signal is emitted when a frame has been queued for presenting.
void beforeSynchronizing()
This signal is emitted before the scene graph is synchronized with the QML state.
Q_REVISION(2, 2) void afterSynchronizing()
void sceneGraphInitialized()
\qmlsignal QtQuick::Window::frameSwapped()
void sceneGraphInvalidated()
\qmlsignal QtQuick::Window::sceneGraphInitialized()
friend QQmlInfo operator<<(QQmlInfo info, const QQuickWindow *window)
The QResizeEvent class contains event parameters for resize events.
\inmodule QtGuiPrivate \inheaderfile rhi/qrhi.h
The QSGImageNode class is provided for convenience to easily draw textured content using the QML scen...
The QSGRectangleNode class is a convenience class for drawing solid filled rectangles using scenegrap...
An interface providing access to some of the graphics API specific internals of the scenegraph.
GraphicsApi
\value Unknown An unknown graphics API is in use \value Software The Qt Quick 2D Renderer is in use \...
The QSGTextNode class is a class for drawing text layouts and text documents in the Qt Quick scene gr...
The QScreen class is used to query screen properties. \inmodule QtGui.
The QShowEvent class provides an event that is sent when a widget is shown.
\macro QT_RESTRICTED_CAST_FROM_ASCII
[Window class with invokable method]
Combined button and popup list for selecting options.
DBusConnection const char DBusError DBusBusType DBusError return DBusConnection DBusHandleMessageFunction void DBusFreeFunction return DBusConnection return DBusConnection return const char DBusError return DBusConnection DBusMessage dbus_uint32_t return DBusConnection dbus_bool_t DBusConnection DBusAddWatchFunction DBusRemoveWatchFunction DBusWatchToggledFunction void DBusFreeFunction return DBusConnection DBusDispatchStatusFunction void DBusFreeFunction DBusTimeout return DBusTimeout return DBusWatch return DBusWatch unsigned int return DBusError const DBusError return const DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessageIter int const void return DBusMessageIter DBusMessageIter return DBusMessageIter void DBusMessageIter void int return DBusMessage DBusMessageIter return DBusMessageIter return DBusMessageIter DBusMessageIter const char const char const char const char return DBusMessage return DBusMessage const char return DBusMessage dbus_bool_t return DBusMessage dbus_uint32_t return DBusMessage void
DBusConnection const char DBusError * error
#define Q_DECLARE_FLAGS(Flags, Enum)
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data
GLuint GLsizei const GLchar * message
#define QML_NAMED_ELEMENT(NAME)
#define QML_REMOVED_IN_VERSION(MAJOR, MINOR)
#define QML_ADDED_IN_VERSION(MAJOR, MINOR)
QDebug Q_QUICK_EXPORT operator<<(QDebug debug, const QQuickWindow *item)
static QSvgNode * createImageNode(QSvgNode *parent, const QXmlStreamAttributes &attributes, QSvgHandler *handler)
static QSvgNode * createTextNode(QSvgNode *parent, const QXmlStreamAttributes &attributes, QSvgHandler *handler)
myFilter setColor(QColor(128, 0, 0))
QNetworkRequestFactory api
[0]