![]() |
Qt 6.x
The Qt SDK
|
#include <qandroidstyle_p.h>
Public Member Functions | |
AndroidLayerDrawable (const QVariantMap &drawable, QAndroidStyle::ItemType itemType) | |
~AndroidLayerDrawable () | |
virtual AndroidDrawableType | type () const |
virtual void | setFactor (int id, double factor, Qt::Orientation orientation) |
virtual void | draw (QPainter *painter, const QStyleOption *opt) const |
AndroidDrawable * | layer (int id) const |
QSize | size () const |
![]() | |
AndroidDrawable (const QVariantMap &drawable, ItemType itemType) | |
virtual | ~AndroidDrawable () |
virtual void | initPadding (const QVariantMap &drawable) |
virtual AndroidDrawableType | type () const =0 |
virtual void | draw (QPainter *painter, const QStyleOption *opt) const =0 |
const QMargins & | padding () const |
virtual QSize | size () const |
virtual void | setPaddingLeftToSizeWidth () |
Additional Inherited Members | |
![]() | |
static AndroidDrawable * | fromMap (const QVariantMap &drawable, ItemType itemType) |
static QMargins | extractMargins (const QVariantMap &value) |
![]() | |
ItemType | m_itemType |
QMargins | m_padding |
Definition at line 198 of file qandroidstyle_p.h.
QAndroidStyle::AndroidLayerDrawable::AndroidLayerDrawable | ( | const QVariantMap & | drawable, |
QAndroidStyle::ItemType | itemType | ||
) |
Definition at line 1266 of file qandroidstyle.cpp.
References QAndroidStyle::AndroidDrawable::fromMap(), Qt::Horizontal, QVariant::toInt(), QVariant::toList(), and QMap< Key, T >::value().
QAndroidStyle::AndroidLayerDrawable::~AndroidLayerDrawable | ( | ) |
Definition at line 1286 of file qandroidstyle.cpp.
|
virtual |
Implements QAndroidStyle::AndroidDrawable.
Definition at line 1304 of file qandroidstyle.cpp.
References copy(), Qt::Horizontal, opt, and painter.
Referenced by QAndroidStyle::AndroidProgressBarControl::drawControl().
QAndroidStyle::AndroidDrawable * QAndroidStyle::AndroidLayerDrawable::layer | ( | int | id | ) | const |
Definition at line 1320 of file qandroidstyle.cpp.
|
virtual |
Definition at line 1297 of file qandroidstyle.cpp.
|
virtual |
Reimplemented from QAndroidStyle::AndroidDrawable.
Definition at line 1329 of file qandroidstyle.cpp.
References QSize::expandedTo().
|
virtual |
Implements QAndroidStyle::AndroidDrawable.
Definition at line 1292 of file qandroidstyle.cpp.
References QAndroidStyle::Layer.