![]() |
Qt 6.x
The Qt SDK
|
#include <qandroidstyle_p.h>
Inheritance diagram for QAndroidStyle::AndroidColorDrawable:
Collaboration diagram for QAndroidStyle::AndroidColorDrawable:Public Member Functions | |
| AndroidColorDrawable (const QVariantMap &drawable, ItemType itemType) | |
| virtual AndroidDrawableType | type () const |
| virtual void | draw (QPainter *painter, const QStyleOption *opt) 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 () |
Protected Attributes | |
| QColor | m_color |
Protected Attributes inherited from QAndroidStyle::AndroidDrawable | |
| ItemType | m_itemType |
| QMargins | m_padding |
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) |
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().
Here is the call graph for this function:
|
virtual |
Implements QAndroidStyle::AndroidDrawable.
Definition at line 782 of file qandroidstyle.cpp.
References QPainter::fillRect(), opt, painter, and QStyleOption::rect.
Here is the call graph for this function:
|
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().