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

#include <qandroidstyle_p.h>

+ Inheritance diagram for QAndroidStyle::AndroidSeekBarControl:
+ Collaboration diagram for QAndroidStyle::AndroidSeekBarControl:

Public Member Functions

 AndroidSeekBarControl (const QVariantMap &control, ItemType itemType)
 
virtual ~AndroidSeekBarControl ()
 
virtual void drawControl (const QStyleOption *option, QPainter *p, const QWidget *w)
 
QSize sizeFromContents (const QStyleOption *opt, const QSize &contentsSize, const QWidget *w) const
 
QRect subControlRect (const QStyleOptionComplex *option, SubControl sc, const QWidget *widget=nullptr) const
 
- Public Member Functions inherited from QAndroidStyle::AndroidProgressBarControl
 AndroidProgressBarControl (const QVariantMap &control, ItemType itemType)
 
virtual ~AndroidProgressBarControl ()
 
virtual QRect subElementRect (SubElement subElement, const QStyleOption *option, const QWidget *widget=nullptr) const
 
- Public Member Functions inherited from QAndroidStyle::AndroidControl
 AndroidControl (const QVariantMap &control, ItemType itemType)
 
virtual ~AndroidControl ()
 
virtual QMargins padding ()
 
virtual QSize size (const QStyleOption *option)
 

Additional Inherited Members

- Protected Member Functions inherited from QAndroidStyle::AndroidControl
virtual const AndroidDrawablebackgroundDrawable () const
 
- Protected Attributes inherited from QAndroidStyle::AndroidProgressBarControl
AndroidDrawablem_progressDrawable
 
AndroidDrawablem_indeterminateDrawable
 
int m_secondaryProgress_id
 
int m_progressId
 
- Protected Attributes inherited from QAndroidStyle::AndroidControl
const AndroidDrawablem_background
 
QSize m_minSize
 
QSize m_maxSize
 

Detailed Description

Definition at line 273 of file qandroidstyle_p.h.

Constructor & Destructor Documentation

◆ AndroidSeekBarControl()

QAndroidStyle::AndroidSeekBarControl::AndroidSeekBarControl ( const QVariantMap & control,
ItemType itemType )

Definition at line 1659 of file qandroidstyle.cpp.

References QMap< Key, T >::end(), QMap< Key, T >::find(), QAndroidStyle::AndroidDrawable::fromMap(), and it.

+ Here is the call graph for this function:

◆ ~AndroidSeekBarControl()

QAndroidStyle::AndroidSeekBarControl::~AndroidSeekBarControl ( )
virtual

Definition at line 1670 of file qandroidstyle.cpp.

Member Function Documentation

◆ drawControl()

void QAndroidStyle::AndroidSeekBarControl::drawControl ( const QStyleOption * option,
QPainter * p,
const QWidget * w )
virtual

Reimplemented from QAndroidStyle::AndroidProgressBarControl.

Definition at line 1675 of file qandroidstyle.cpp.

References QAndroidStyle::AndroidStateDrawable::bestAndroidStateMatch(), QAndroidStyle::Clip, copy(), Qt::Horizontal, QAndroidStyle::Layer, pos, QAndroidStyle::AndroidClipDrawable::setFactor(), QAndroidStyle::AndroidDrawable::size(), QAndroidStyle::State, QAndroidStyle::AndroidDrawable::type(), and Qt::Vertical.

+ Here is the call graph for this function:

◆ sizeFromContents()

QSize QAndroidStyle::AndroidSeekBarControl::sizeFromContents ( const QStyleOption * opt,
const QSize & contentsSize,
const QWidget * w ) const
virtual

Reimplemented from QAndroidStyle::AndroidProgressBarControl.

Definition at line 1726 of file qandroidstyle.cpp.

References QSize::expandedTo(), opt, QAndroidStyle::AndroidDrawable::size(), QAndroidStyle::AndroidProgressBarControl::sizeFromContents(), and QAndroidStyle::AndroidDrawable::type().

+ Here is the call graph for this function:

◆ subControlRect()

QRect QAndroidStyle::AndroidSeekBarControl::subControlRect ( const QStyleOptionComplex * option,
SubControl sc,
const QWidget * widget = nullptr ) const
virtual

Reimplemented from QAndroidStyle::AndroidControl.

Definition at line 1739 of file qandroidstyle.cpp.

References pos, QAndroidStyle::AndroidDrawable::size(), QAndroidStyle::AndroidDrawable::type(), and Qt::Vertical.

+ Here is the call graph for this function:

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