Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QAndroidStyle::AndroidColorDrawable Class Reference

#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)
const QMarginspadding () 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 AndroidDrawablefromMap (const QVariantMap &drawable, ItemType itemType)
static QMargins extractMargins (const QVariantMap &value)

Detailed Description

Definition at line 102 of file qandroidstyle_p.h.

Constructor & Destructor Documentation

◆ AndroidColorDrawable()

QAndroidStyle::AndroidColorDrawable::AndroidColorDrawable ( const QVariantMap & drawable,
ItemType itemType )

Definition at line 771 of file qandroidstyle.cpp.

Member Function Documentation

◆ draw()

void QAndroidStyle::AndroidColorDrawable::draw ( QPainter * painter,
const QStyleOption * opt ) const
virtual

Implements QAndroidStyle::AndroidDrawable.

Definition at line 783 of file qandroidstyle.cpp.

◆ type()

QAndroidStyle::AndroidDrawableType QAndroidStyle::AndroidColorDrawable::type ( ) const
virtual

Implements QAndroidStyle::AndroidDrawable.

Definition at line 778 of file qandroidstyle.cpp.

Member Data Documentation

◆ m_color

QColor QAndroidStyle::AndroidColorDrawable::m_color
protected

Definition at line 110 of file qandroidstyle_p.h.


The documentation for this class was generated from the following files: