4#ifndef QQUICKIMAGEPARTICLE_P_H
5#define QQUICKIMAGEPARTICLE_P_H
20#include <private/qquickpixmapcache_p.h>
21#include <QQmlListProperty>
22#include <QtGui/qcolor.h>
23#include <QtQuick/qsgmaterial.h>
135template <
typename Vertex>
158 Q_PROPERTY(
QUrl colorTable READ colortable WRITE setColortable NOTIFY colortableChanged FINAL)
160 Q_PROPERTY(
QUrl opacityTable READ opacitytable WRITE setOpacitytable NOTIFY opacitytableChanged FINAL)
165 Q_PROPERTY(
qreal colorVariation READ colorVariation WRITE setColorVariation NOTIFY colorVariationChanged RESET resetColor FINAL)
166 Q_PROPERTY(
qreal redVariation READ redVariation WRITE setRedVariation NOTIFY redVariationChanged RESET resetColor FINAL)
167 Q_PROPERTY(
qreal greenVariation READ greenVariation WRITE setGreenVariation NOTIFY greenVariationChanged RESET resetColor FINAL)
168 Q_PROPERTY(
qreal blueVariation READ blueVariation WRITE setBlueVariation NOTIFY blueVariationChanged RESET resetColor FINAL)
171 Q_PROPERTY(
qreal alphaVariation READ alphaVariation WRITE setAlphaVariation NOTIFY alphaVariationChanged RESET resetColor FINAL)
173 Q_PROPERTY(
qreal rotation READ rotation WRITE setRotation NOTIFY rotationChanged RESET resetRotation)
174 Q_PROPERTY(
qreal rotationVariation READ rotationVariation WRITE setRotationVariation NOTIFY rotationVariationChanged RESET resetRotation FINAL)
175 Q_PROPERTY(
qreal rotationVelocity READ rotationVelocity WRITE setRotationVelocity NOTIFY rotationVelocityChanged RESET resetRotation FINAL)
176 Q_PROPERTY(
qreal rotationVelocityVariation READ rotationVelocityVariation WRITE setRotationVelocityVariation NOTIFY rotationVelocityVariationChanged RESET resetRotation FINAL)
179 Q_PROPERTY(
bool autoRotation READ autoRotation WRITE setAutoRotation NOTIFY autoRotationChanged RESET resetRotation FINAL)
185 Q_PROPERTY(
bool spritesInterpolate READ spritesInterpolate WRITE setSpritesInterpolate NOTIFY spritesInterpolateChanged FINAL)
187 Q_PROPERTY(
EntryEffect entryEffect READ entryEffect WRITE setEntryEffect NOTIFY entryEffectChanged FINAL)
268 void resetRotation();
269 void resetDeformation();
326 void setRotationVariation(
qreal arg);
328 void setRotationVelocity(
qreal arg);
330 void setRotationVelocityVariation(
qreal arg);
332 void setAutoRotation(
bool arg);
338 void setSpritesInterpolate(
bool arg);
340 void setBypassOptimizations(
bool arg);
345 void reset()
override;
347 void commit(
int gIdx,
int pIdx)
override;
350 bool prepareNextFrame(
QSGNode**);
351 void buildParticleNodes(
QSGNode**);
358 void spriteAdvance(
int spriteIndex);
360 void mainThreadFetchImageData();
361 void finishBuildParticleNodes(
QSGNode **
n);
362 void invalidateSceneGraph();
373 bool loadingSomething();
377 qreal m_color_variation;
389 qreal m_alphaVariation;
391 qreal m_redVariation;
392 qreal m_greenVariation;
393 qreal m_blueVariation;
395 qreal m_rotationVariation;
396 qreal m_rotationVelocity;
397 qreal m_rotationVelocityVariation;
404 bool m_spritesInterpolate;
406 bool m_explicitColor;
407 bool m_explicitRotation;
408 bool m_explicitDeformation;
409 bool m_explicitAnimation;
414 bool m_bypassOptimizations;
415 PerformanceLevel perfLevel;
416 PerformanceLevel m_targetPerfLevel;
417 void checkPerfLevel(PerformanceLevel
level);
421 template<
class Vertex>
446 EntryEffect m_entryEffect;
448 int m_startedImageLoading;
452 bool m_previousActive;
virtual ImageMaterialData * state()=0
The QColor class provides colors based on RGB, HSV or CMYK values.
The QQmlListProperty class allows applications to expose list-like properties of QObject-derived clas...
void rotationChanged(qreal arg)
bool autoRotation() const
qreal rotationVelocity() const
qreal blueVariation() const
void rotationVelocityChanged(qreal arg)
qreal redVariation() const
void blueVariationChanged(qreal arg)
void xVectorChanged(QQuickDirection *arg)
void greenVariationChanged(qreal arg)
QQuickDirection * yVector() const
QQuickDirection * xVector() const
qreal rotationVelocityVariation() const
qreal rotationVariation() const
qreal alphaVariation() const
qreal greenVariation() const
bool spritesInterpolate() const
EntryEffect entryEffect() const
void bypassOptimizationsChanged(bool arg)
bool bypassOptimizations() const
void rotationVariationChanged(qreal arg)
void spritesInterpolateChanged(bool arg)
void alphaVariationChanged(qreal arg)
void entryEffectChanged(EntryEffect arg)
void statusChanged(Status arg)
void redVariationChanged(qreal arg)
void alphaChanged(qreal arg)
void yVectorChanged(QQuickDirection *arg)
QUrl opacitytable() const
void opacitytableChanged()
void autoRotationChanged(bool arg)
void colorVariationChanged()
qreal colorVariation() const
void rotationVelocityVariationChanged(qreal arg)
The QQuickItem class provides the most basic of all visual items in \l {Qt Quick}.
virtual QSGNode * updatePaintNode(QSGNode *, UpdatePaintNodeData *)
Called on the render thread when it is time to sync the state of the item with the scene graph.
QString state() const
\qmlproperty string QtQuick::Item::state
virtual void sceneGraphInvalidated()
The QSGGeometryNode class is used for all rendered content in the scene graph.
The QSGMaterial class encapsulates rendering state for a shader program.
\group qtquick-scenegraph-nodes \title Qt Quick Scene Graph Node classes
void statusChanged(QDeclarativeComponent::Status status)
[1]
Combined button and popup list for selecting options.
Engine * createEngine(QGeoServiceProviderPrivate *)
GLsizei const GLfloat * v
[13]
GLenum GLuint GLint level
GLenum GLenum GLsizei count
GLint GLint GLint GLint GLsizei GLsizei GLsizei GLboolean commit
GLsizei GLsizei GLchar * source
GLfloat GLfloat GLfloat alpha
GLenum GLenum GLsizei void * table
#define QML_NAMED_ELEMENT(NAME)
#define QML_ADDED_IN_VERSION(MAJOR, MINOR)
static const qreal sizeTable[]
myFilter setColor(QColor(128, 0, 0))
\qmltype MapCircle \instantiates QDeclarativeCircleMapItem \inqmlmodule QtLocation
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent