5#ifndef QQUICKGRAPHICSINFO_P_H
6#define QQUICKGRAPHICSINFO_P_H
19#include <QtCore/qobject.h>
20#include <QtCore/qpointer.h>
21#include <QtQml/qqml.h>
22#include <QtGui/qsurfaceformat.h>
23#include <QtQuick/qsgrendererinterface.h>
24#include <QtCore/private/qglobal_p.h>
34 Q_PROPERTY(GraphicsApi api READ api NOTIFY apiChanged FINAL)
46 QML_UNCREATABLE(
"GraphicsInfo is only available via attached properties.")
81 Q_ENUM(ShaderCompilationType)
88 Q_ENUM(ShaderSourceType)
95 Q_ENUM(OpenGLContextProfile)
102 Q_ENUM(RenderableType)
132 void setWindow(QQuickWindow *window);
135 QPointer<QQuickWindow> m_window;
140 int m_majorVersion = 2;
141 int m_minorVersion = 0;
void minorVersionChanged()
void renderableTypeChanged()
static QQuickGraphicsInfo * qmlAttachedProperties(QObject *object)
void shaderCompilationTypeChanged()
QQuickGraphicsInfo(QQuickWindow *window)
ShaderCompilationType shaderCompilationType() const
void majorVersionChanged()
OpenGLContextProfile profile() const
ShaderSourceType shaderSourceType() const
ShaderType shaderType() const
void shaderSourceTypeChanged()
RenderableType renderableType() const
The QQuickItem class provides the most basic of all visual items in \l {Qt Quick}.
\qmltype Window \nativetype QQuickWindow \inqmlmodule QtQuick
Combined button and popup list for selecting options.