Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
#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 |
Public Member Functions inherited from QAndroidStyle::AndroidDrawable | |
AndroidDrawable (const QVariantMap &drawable, ItemType itemType) | |
virtual | ~AndroidDrawable () |
virtual void | initPadding (const QVariantMap &drawable) |
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().
|
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().