![]() |
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>
Classes | |
| struct | Android9PatchChunk |
| class | Android9PatchDrawable |
| class | AndroidClipDrawable |
| class | AndroidColorDrawable |
| class | AndroidCompoundButtonControl |
| class | AndroidControl |
| class | AndroidDrawable |
| class | AndroidGradientDrawable |
| class | AndroidImageDrawable |
| struct | AndroidItemStateInfo |
| class | AndroidLayerDrawable |
| class | AndroidProgressBarControl |
| class | AndroidSeekBarControl |
| class | AndroidSpinnerControl |
| class | AndroidStateDrawable |
Public Types | |
| enum | ItemType { QC_UnknownType = -1 , QC_View , QC_GroupBox , QC_Button , QC_Checkbox , QC_RadioButton , QC_Slider , QC_Switch , QC_EditText , QC_Combobox , QC_BusyIndicator , QC_ProgressBar , QC_Tab , QC_TabButton , QC_RatingIndicator , QC_SearchBox , QC_CustomControl =0xf00 , QC_ControlMask =0xfff } |
| enum | AndroidDrawableType { Color , Image , Clip , NinePatch , Gradient , State , Layer } |
| typedef QList< AndroidItemStateInfo * > | AndroidItemStateInfoList |
Public Member Functions | |
| QAndroidStyle () | |
| ~QAndroidStyle () | |
| virtual void | drawPrimitive (PrimitiveElement pe, const QStyleOption *opt, QPainter *p, const QWidget *w=nullptr) const |
| virtual void | drawControl (QStyle::ControlElement element, const QStyleOption *opt, QPainter *p, const QWidget *w=nullptr) const |
| virtual QRect | subElementRect (SubElement subElement, const QStyleOption *option, const QWidget *widget=nullptr) const |
| virtual void | drawComplexControl (ComplexControl cc, const QStyleOptionComplex *opt, QPainter *p, const QWidget *widget=nullptr) const |
| virtual SubControl | hitTestComplexControl (ComplexControl cc, const QStyleOptionComplex *opt, const QPoint &pt, const QWidget *widget=nullptr) const |
| virtual QRect | subControlRect (ComplexControl cc, const QStyleOptionComplex *opt, SubControl sc, const QWidget *widget=nullptr) const |
| virtual int | pixelMetric (PixelMetric metric, const QStyleOption *option=nullptr, const QWidget *widget=nullptr) const |
| virtual QSize | sizeFromContents (ContentsType ct, const QStyleOption *opt, const QSize &contentsSize, const QWidget *w=nullptr) const |
| virtual QPixmap | standardPixmap (StandardPixmap standardPixmap, const QStyleOption *opt=nullptr, const QWidget *widget=nullptr) const |
| virtual QPixmap | generatedIconPixmap (QIcon::Mode iconMode, const QPixmap &pixmap, const QStyleOption *opt) const |
| int | styleHint (StyleHint hint, const QStyleOption *option=nullptr, const QWidget *widget=nullptr, QStyleHintReturn *returnData=nullptr) const |
| virtual QPalette | standardPalette () const |
| void | polish (QWidget *widget) |
| void | unpolish (QWidget *widget) |
Definition at line 28 of file qandroidstyle_p.h.
Definition at line 298 of file qandroidstyle_p.h.
| Enumerator | |
|---|---|
| Color | |
| Image | |
| Clip | |
| NinePatch | |
| Gradient | |
| State | |
| Layer | |
Definition at line 73 of file qandroidstyle_p.h.
Definition at line 33 of file qandroidstyle_p.h.
| QAndroidStyle::QAndroidStyle | ( | ) |
Definition at line 30 of file qandroidstyle.cpp.
| QAndroidStyle::~QAndroidStyle | ( | ) |
Definition at line 100 of file qandroidstyle.cpp.
|
virtual |
Definition at line 364 of file qandroidstyle.cpp.
|
virtual |
Definition at line 288 of file qandroidstyle.cpp.
|
virtual |
Definition at line 251 of file qandroidstyle.cpp.
|
virtual |
Definition at line 626 of file qandroidstyle.cpp.
|
virtual |
Definition at line 443 of file qandroidstyle.cpp.
|
virtual |
Definition at line 534 of file qandroidstyle.cpp.
Definition at line 658 of file qandroidstyle.cpp.
|
virtual |
Definition at line 555 of file qandroidstyle.cpp.
|
virtual |
Definition at line 653 of file qandroidstyle.cpp.
|
virtual |
Definition at line 619 of file qandroidstyle.cpp.
| int QAndroidStyle::styleHint | ( | StyleHint | hint, |
| const QStyleOption * | option = nullptr, | ||
| const QWidget * | widget = nullptr, | ||
| QStyleHintReturn * | returnData = nullptr ) const |
Definition at line 633 of file qandroidstyle.cpp.
|
virtual |
Definition at line 473 of file qandroidstyle.cpp.
|
virtual |
Definition at line 351 of file qandroidstyle.cpp.
Definition at line 663 of file qandroidstyle.cpp.