![]() |
Qt 6.x
The Qt SDK
|
#include <qandroidstyle_p.h>
Inheritance diagram for QAndroidStyle::AndroidLayerDrawable:
Collaboration diagram for QAndroidStyle::AndroidLayerDrawable: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 |
Public Member Functions inherited from QAndroidStyle::AndroidDrawable | |
| 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 Public Member Functions inherited from QAndroidStyle::AndroidDrawable | |
| static AndroidDrawable * | fromMap (const QVariantMap &drawable, ItemType itemType) |
| static QMargins | extractMargins (const QVariantMap &value) |
Protected Attributes inherited from QAndroidStyle::AndroidDrawable | |
| 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().
Here is the call graph for this function:| 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().
Here is the call graph for this function:
Here is the caller graph for this function:| 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().
Here is the call graph for this function:
|
virtual |
Implements QAndroidStyle::AndroidDrawable.
Definition at line 1292 of file qandroidstyle.cpp.
References QAndroidStyle::Layer.