![]() |
Qt 6.x
The Qt SDK
|
#include <qandroidstyle_p.h>
Public Member Functions | |
AndroidColorDrawable (const QVariantMap &drawable, ItemType itemType) | |
virtual AndroidDrawableType | type () const |
virtual void | draw (QPainter *painter, const QStyleOption *opt) 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 () |
Protected Attributes | |
QColor | m_color |
![]() | |
ItemType | m_itemType |
QMargins | m_padding |
Additional Inherited Members | |
![]() | |
static AndroidDrawable * | fromMap (const QVariantMap &drawable, ItemType itemType) |
static QMargins | extractMargins (const QVariantMap &value) |
Definition at line 101 of file qandroidstyle_p.h.
QAndroidStyle::AndroidColorDrawable::AndroidColorDrawable | ( | const QVariantMap & | drawable, |
ItemType | itemType | ||
) |
Definition at line 770 of file qandroidstyle.cpp.
References m_color, QRgb, QColor::setRgba(), toInt(), and QMap< Key, T >::value().
|
virtual |
Implements QAndroidStyle::AndroidDrawable.
Definition at line 782 of file qandroidstyle.cpp.
References QPainter::fillRect(), opt, painter, and QStyleOption::rect.
|
virtual |
Implements QAndroidStyle::AndroidDrawable.
Definition at line 777 of file qandroidstyle.cpp.
References QAndroidStyle::Color.
|
protected |
Definition at line 109 of file qandroidstyle_p.h.
Referenced by AndroidColorDrawable().