9 initStyleOption(styleOption);
29 initStyleOption(styleOption);
43 const QSize scrollBarSize = scrollBarMinSize +
QSize(0, grooveHeight);
44 const int hStart = scrollBarMinSize.height() / 2;
48 scrollBarImage.setDevicePixelRatio(
scale);
50 QPainter scrollBarPainter(&scrollBarImage);
59 path.lineTo(0, grooveHeight);
60 path.lineTo(grooveWidth, grooveHeight);
76void QQuickStyleItemScrollViewCorner::initStyleOption(
QStyleOptionSlider &styleOption)
const
@ Format_ARGB32_Premultiplied
The QPainter class performs low-level painting on widgets and other paint devices.
void setClipPath(const QPainterPath &path, Qt::ClipOperation op=Qt::ReplaceClip)
Enables clipping, and sets the clip path for the painter to the given path, with the clip operation.
void restore()
Restores the current painter state (pops a saved state off the stack).
void setCompositionMode(CompositionMode mode)
Sets the composition mode to the given mode.
void save()
Saves the current painter state (pushes the state onto a stack).
void drawImage(const QRectF &targetRect, const QImage &image, const QRectF &sourceRect, Qt::ImageConversionFlags flags=Qt::AutoColor)
Draws the rectangular portion source of the given image into the target rectangle in the paint device...
void setTransform(const QTransform &transform, bool combine=false)
\inmodule QtCore\reentrant
QStyle::SubControls subControls
QStyle::SubControls activeSubControls
Qt::Orientation orientation
QQuickWindow * window() const
Returns the window in which this item is rendered.
QQmlListProperty< QQuickTransform > transform
\qmlproperty list<Transform> QtQuick::Item::transform This property holds the list of transformations...
layoutMarginsChangedQSize minimumSize
void initStyleOptionBase(QStyleOption &styleOption) const
\inmodule QtCore\reentrant
GLuint GLenum GLenum transform
GLsizei const GLchar *const * path
GLenum GLenum GLenum GLenum GLenum scale