9 initStyleOption(styleOption);
29 initStyleOption(styleOption);
43 const QSize scrollBarSize = scrollBarMinSize +
QSize(0, grooveHeight);
44 const int hStart = scrollBarMinSize.
height() / 2;
50 QPainter scrollBarPainter(&scrollBarImage);
59 path.lineTo(0, grooveHeight);
60 path.lineTo(grooveWidth, grooveHeight);
76void QQuickStyleItemScrollViewCorner::initStyleOption(
QStyleOptionSlider &styleOption)
const
@ Format_ARGB32_Premultiplied
void fill(uint pixel)
Fills the entire image with the given pixelValue.
void setDevicePixelRatio(qreal scaleFactor)
Sets the device pixel ratio for the image.
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
virtual QSize sizeFromContents(ContentsType ct, const QStyleOption *opt, const QSize &contentsSize) const =0
virtual void drawComplexControl(ComplexControl cc, const QStyleOptionComplex *opt, QPainter *p) const =0
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
constexpr int height() const noexcept
Returns the height.
constexpr int width() const noexcept
Returns the width.
GLuint GLenum GLenum transform
GLsizei const GLchar *const * path
GLenum GLenum GLenum GLenum GLenum scale