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::AndroidClipDrawable Class Reference

#include <qandroidstyle_p.h>

+ Inheritance diagram for QAndroidStyle::AndroidClipDrawable:
+ Collaboration diagram for QAndroidStyle::AndroidClipDrawable:

Public Member Functions

 AndroidClipDrawable (const QVariantMap &drawable, ItemType itemType)
 
 ~AndroidClipDrawable ()
 
virtual AndroidDrawableType type () const
 
virtual void setFactor (double factor, Qt::Orientation orientation)
 
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 ()
 

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 167 of file qandroidstyle_p.h.

Constructor & Destructor Documentation

◆ AndroidClipDrawable()

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

Definition at line 1079 of file qandroidstyle.cpp.

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

+ Here is the call graph for this function:

◆ ~AndroidClipDrawable()

QAndroidStyle::AndroidClipDrawable::~AndroidClipDrawable ( )

Definition at line 1088 of file qandroidstyle.cpp.

Member Function Documentation

◆ draw()

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

Implements QAndroidStyle::AndroidDrawable.

Definition at line 1104 of file qandroidstyle.cpp.

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

+ Here is the call graph for this function:

◆ setFactor()

void QAndroidStyle::AndroidClipDrawable::setFactor ( double factor,
Qt::Orientation orientation )
virtual

Definition at line 1098 of file qandroidstyle.cpp.

Referenced by QAndroidStyle::AndroidProgressBarControl::drawControl(), and QAndroidStyle::AndroidSeekBarControl::drawControl().

+ Here is the caller graph for this function:

◆ type()

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

Implements QAndroidStyle::AndroidDrawable.

Definition at line 1093 of file qandroidstyle.cpp.

References QAndroidStyle::Clip.


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