![]() |
Qt 6.x
The Qt SDK
|
#include <qandroidstyle_p.h>
Public Member Functions | |
AndroidCompoundButtonControl (const QVariantMap &control, ItemType itemType) | |
virtual | ~AndroidCompoundButtonControl () |
virtual void | drawControl (const QStyleOption *opt, QPainter *p, const QWidget *w) |
virtual QMargins | padding () |
virtual QSize | size (const QStyleOption *option) |
![]() | |
AndroidControl (const QVariantMap &control, ItemType itemType) | |
virtual | ~AndroidControl () |
virtual void | drawControl (const QStyleOption *opt, QPainter *p, const QWidget *w) |
virtual QRect | subElementRect (SubElement subElement, const QStyleOption *option, const QWidget *widget=nullptr) const |
virtual QRect | subControlRect (const QStyleOptionComplex *option, SubControl sc, const QWidget *widget=nullptr) const |
virtual QSize | sizeFromContents (const QStyleOption *opt, const QSize &contentsSize, const QWidget *w) const |
virtual QMargins | padding () |
virtual QSize | size (const QStyleOption *option) |
Protected Member Functions | |
virtual const AndroidDrawable * | backgroundDrawable () const |
virtual const AndroidDrawable * | backgroundDrawable () const |
Protected Attributes | |
const AndroidDrawable * | m_button |
![]() | |
const AndroidDrawable * | m_background |
QSize | m_minSize |
QSize | m_maxSize |
Definition at line 240 of file qandroidstyle_p.h.
QAndroidStyle::AndroidCompoundButtonControl::AndroidCompoundButtonControl | ( | const QVariantMap & | control, |
ItemType | itemType | ||
) |
Definition at line 1485 of file qandroidstyle.cpp.
References QMap< Key, T >::end(), QMap< Key, T >::find(), QAndroidStyle::AndroidDrawable::fromMap(), it, and m_button.
|
virtual |
Definition at line 1498 of file qandroidstyle.cpp.
|
protectedvirtual |
Reimplemented from QAndroidStyle::AndroidControl.
Definition at line 1529 of file qandroidstyle.cpp.
|
virtual |
Reimplemented from QAndroidStyle::AndroidControl.
Definition at line 1503 of file qandroidstyle.cpp.
References QAndroidStyle::AndroidControl::drawControl(), and opt.
Referenced by QAndroidStyle::drawComplexControl().
|
virtual |
Reimplemented from QAndroidStyle::AndroidControl.
Definition at line 1512 of file qandroidstyle.cpp.
References QAndroidStyle::AndroidControl::padding().
|
virtual |
Reimplemented from QAndroidStyle::AndroidControl.
Definition at line 1519 of file qandroidstyle.cpp.
References QAndroidStyle::AndroidDrawable::size(), and QAndroidStyle::AndroidControl::size().
Referenced by QAndroidStyle::pixelMetric(), QAndroidStyle::sizeFromContents(), and QAndroidStyle::subControlRect().
|
protected |
Definition at line 250 of file qandroidstyle_p.h.
Referenced by AndroidCompoundButtonControl().