6#include <QtCore/qmath.h>
7#include <QtCore/qeasingcurve.h>
8#include <QtQuick/private/qquickitem_p.h>
9#include <QtQuick/private/qsgadaptationlayer_p.h>
10#include <QtQuick/qsgrectanglenode.h>
11#include <QtQuick/qsgimagenode.h>
12#include <QtQuick/qquickwindow.h>
13#include <QtQuickControls2Impl/private/qquickanimatednode_p.h>
32 bool m_indeterminate =
false;
85 geometryNode =
item->
window()->createRectangleNode();
91 const int count = m_indeterminate ? 2 : 1;
118 while (transformNode) {
120 delete transformNode;
156 if (
color == m_color)
179 return m_indeterminate;
214#include "moc_qquickmaterialprogressbar_p.cpp"
The QColor class provides colors based on RGB, HSV or CMYK values.
qreal valueForProgress(qreal progress) const
Return the effective progress for the easing curve at progress.
QGraphicsWidget * window() const
virtual QRectF boundingRect() const =0
This pure virtual function defines the outer bounds of the item as a rectangle; all painting must be ...
The QMatrix4x4 class represents a 4x4 transformation matrix in 3D space.
void translate(const QVector3D &vector)
Multiplies this matrix by another that translates coordinates by the components of vector.
void setLoopCount(int count)
void setDuration(int duration)
static QQuickItemPrivate * get(QQuickItem *item)
The QQuickItem class provides the most basic of all visual items in \l {Qt Quick}.
void setFlag(Flag flag, bool enabled=true)
Enables the specified flag for this item if enabled is true; if enabled is false, the flag is disable...
qreal width
This property holds the width of this item.
virtual void itemChange(ItemChange, const ItemChangeData &)
Called when change occurs for this item.
qreal height
This property holds the height of this item.
ItemChange
Used in conjunction with QQuickItem::itemChange() to notify the item about certain types of changes.
void update()
Schedules a call to updatePaintNode() for this item.
void updateCurrentTime(int time) override
QQuickMaterialProgressBarNode(QQuickMaterialProgressBar *item)
void sync(QQuickItem *item) override
void itemChange(ItemChange change, const ItemChangeData &data) override
Called when change occurs for this item.
void setProgress(qreal progress)
void setIndeterminate(bool indeterminate)
bool isIndeterminate() const
QSGNode * updatePaintNode(QSGNode *oldNode, UpdatePaintNodeData *) override
Called on the render thread when it is time to sync the state of the item with the scene graph.
void setColor(const QColor &color)
QQuickMaterialProgressBar(QQuickItem *parent=nullptr)
\inmodule QtCore\reentrant
constexpr qreal y() const noexcept
Returns the y-coordinate of the rectangle's top edge.
constexpr qreal height() const noexcept
Returns the height of the rectangle.
constexpr qreal width() const noexcept
Returns the width of the rectangle.
constexpr void setWidth(qreal w) noexcept
Sets the width of the rectangle to the given finite width.
constexpr void setHeight(qreal h) noexcept
Sets the height of the rectangle to the given finite height.
constexpr void moveTop(qreal pos) noexcept
Moves the rectangle vertically, leaving the rectangle's top line at the given finite y coordinate.
virtual void setAntialiasing(bool antialiasing)
virtual void setRect(const QRectF &rect)=0
virtual void setColor(const QColor &color)=0
\group qtquick-scenegraph-nodes \title Qt Quick Scene Graph Node classes
QSGNode * nextSibling() const
Returns the node after this in the parent's list of children.
void appendChildNode(QSGNode *node)
Appends node to this node's list of children.
QSGNode * lastChild() const
Returns the last child of this node.
QSGNode * firstChild() const
Returns the first child of this node.
NodeType type() const
Returns the type of this node.
The QSGRectangleNode class is a convenience class for drawing solid filled rectangles using scenegrap...
virtual QRectF rect() const =0
Returns the rectangle that this rect node covers.
virtual void setRect(const QRectF &rect)=0
Sets the rectangle of this rect node to rect.
virtual void setColor(const QColor &color)=0
Sets the color of this rectangle to color.
Combined button and popup list for selecting options.
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
GLint GLint GLint GLint GLint x
[0]
GLfloat GLfloat GLfloat w
[0]
GLenum GLenum GLsizei count
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data
static const int QmpbTotalDuration
static const int SlideDuration
static QT_BEGIN_NAMESPACE const int PauseDuration
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent