24 auto scrollBar = control<QQuickScrollBar>();
32 initStyleOption(styleOption);
55 initStyleOption(styleOption);
82 auto scrollBar = control<QQuickScrollBar>();
84 switch (m_subControl) {
134#include "moc_qquickstyleitemscrollbar.cpp"
Qt::Orientation orientation
the orientation of the slider
@ Format_ARGB32_Premultiplied
void setDevicePixelRatio(qreal scaleFactor)
Sets the device pixel ratio for the image.
static QMetaObject::Connection connect(const QObject *sender, const char *signal, const QObject *receiver, const char *member, Qt::ConnectionType=Qt::AutoConnection)
\threadsafe
Q_WEAK_OVERLOAD void setObjectName(const QString &name)
Sets the object's name to name.
The QPainter class performs low-level painting on widgets and other paint devices.
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...
\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
virtual QFont font(ControlElement element, const QStyle::State state) const =0
virtual QRect subControlRect(ComplexControl cc, const QStyleOptionComplex *opt, SubControl sc) const =0
virtual QRect subElementRect(SubElement subElement, const QStyleOption *option) const =0
virtual QMargins ninePatchMargins(ControlElement ce, const QStyleOption *opt, const QSize &imageSize) const =0
The QQuickItem class provides the most basic of all visual items in \l {Qt Quick}.
QQuickWindow * window() const
Returns the window in which this item is rendered.
qreal scale
\qmlproperty real QtQuick::Item::scale This property holds the scale factor for this item.
virtual void connectToControl() const
OverrideState m_overrideState
static QStyle::State controlSize(QQuickItem *item)
void initStyleOptionBase(QStyleOption &styleOption) const
\inmodule QtCore\reentrant
constexpr QPoint topLeft() const noexcept
Returns the position of the rectangle's top-left corner.
constexpr QSize size() const noexcept
Returns the size of the rectangle.
void transpose() noexcept
Swaps the width and height values.
The QStyle class is an abstract base class that encapsulates the look and feel of a GUI.
SubControl
This enum describes the available sub controls.
Combined button and popup list for selecting options.
GLenum GLenum GLenum GLenum GLenum scale
QMargins ninePatchMargins
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent