![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qandroidstyle_p.h>
Public Member Functions | |
| 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 () |
Static Public Member Functions | |
| static AndroidDrawable * | fromMap (const QVariantMap &drawable, ItemType itemType) |
| static QMargins | extractMargins (const QVariantMap &value) |
Protected Attributes | |
| ItemType | m_itemType |
| QMargins | m_padding |
Definition at line 84 of file qandroidstyle_p.h.
| QAndroidStyle::AndroidDrawable::AndroidDrawable | ( | const QVariantMap & | drawable, |
| QAndroidStyle::ItemType | itemType ) |
Definition at line 668 of file qandroidstyle.cpp.
|
virtual |
Definition at line 675 of file qandroidstyle.cpp.
|
pure virtual |
|
static |
Definition at line 720 of file qandroidstyle.cpp.
|
static |
Definition at line 699 of file qandroidstyle.cpp.
|
virtual |
Definition at line 679 of file qandroidstyle.cpp.
| const QMargins & QAndroidStyle::AndroidDrawable::padding | ( | ) | const |
Definition at line 686 of file qandroidstyle.cpp.
|
virtual |
Reimplemented in QAndroidStyle::AndroidStateDrawable.
Definition at line 730 of file qandroidstyle.cpp.
|
virtual |
Reimplemented in QAndroidStyle::AndroidGradientDrawable, QAndroidStyle::AndroidImageDrawable, and QAndroidStyle::AndroidLayerDrawable.
Definition at line 691 of file qandroidstyle.cpp.
|
pure virtual |
|
protected |
Definition at line 98 of file qandroidstyle_p.h.
|
protected |
Definition at line 99 of file qandroidstyle_p.h.