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>.
Loading...
Searching...
No Matches
QAndroidStyle::AndroidLayerDrawable Class Reference

#include <qandroidstyle_p.h>

+ Inheritance diagram for QAndroidStyle::AndroidLayerDrawable:
+ Collaboration diagram for QAndroidStyle::AndroidLayerDrawable:

Public Member Functions

 AndroidLayerDrawable (const QVariantMap &drawable, QAndroidStyle::ItemType itemType)
 
 ~AndroidLayerDrawable ()
 
virtual AndroidDrawableType type () const
 
virtual void setFactor (int id, double factor, Qt::Orientation orientation)
 
virtual void draw (QPainter *painter, const QStyleOption *opt) const
 
AndroidDrawablelayer (int id) const
 
QSize size () 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 void setPaddingLeftToSizeWidth ()
 

Additional Inherited Members

- Static Public Member Functions inherited from QAndroidStyle::AndroidDrawable
static AndroidDrawablefromMap (const QVariantMap &drawable, ItemType itemType)
 
static QMargins extractMargins (const QVariantMap &value)
 
- Protected Attributes inherited from QAndroidStyle::AndroidDrawable
ItemType m_itemType
 
QMargins m_padding
 

Detailed Description

Definition at line 198 of file qandroidstyle_p.h.

Constructor & Destructor Documentation

◆ AndroidLayerDrawable()

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

Definition at line 1266 of file qandroidstyle.cpp.

References QAndroidStyle::AndroidDrawable::fromMap(), Qt::Horizontal, QVariant::toList(), and QMap< Key, T >::value().

+ Here is the call graph for this function:

◆ ~AndroidLayerDrawable()

QAndroidStyle::AndroidLayerDrawable::~AndroidLayerDrawable ( )

Definition at line 1286 of file qandroidstyle.cpp.

Member Function Documentation

◆ draw()

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

Implements QAndroidStyle::AndroidDrawable.

Definition at line 1304 of file qandroidstyle.cpp.

References copy(), Qt::Horizontal, opt, and painter.

Referenced by QAndroidStyle::AndroidProgressBarControl::drawControl().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ layer()

QAndroidStyle::AndroidDrawable * QAndroidStyle::AndroidLayerDrawable::layer ( int id) const

Definition at line 1320 of file qandroidstyle.cpp.

◆ setFactor()

void QAndroidStyle::AndroidLayerDrawable::setFactor ( int id,
double factor,
Qt::Orientation orientation )
virtual

Definition at line 1297 of file qandroidstyle.cpp.

◆ size()

QSize QAndroidStyle::AndroidLayerDrawable::size ( ) const
virtual

Reimplemented from QAndroidStyle::AndroidDrawable.

Definition at line 1329 of file qandroidstyle.cpp.

References QSize::expandedTo().

+ Here is the call graph for this function:

◆ type()

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

Implements QAndroidStyle::AndroidDrawable.

Definition at line 1292 of file qandroidstyle.cpp.

References QAndroidStyle::Layer.


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