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

#include <qandroidstyle_p.h>

Inheritance diagram for QAndroidStyle::AndroidProgressBarControl:
Collaboration diagram for QAndroidStyle::AndroidProgressBarControl:

Public Member Functions

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

Protected Attributes

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

Additional Inherited Members

Protected Member Functions inherited from QAndroidStyle::AndroidControl
virtual const AndroidDrawablebackgroundDrawable () const

Detailed Description

Definition at line 254 of file qandroidstyle_p.h.

Constructor & Destructor Documentation

◆ AndroidProgressBarControl()

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

Definition at line 1535 of file qandroidstyle.cpp.

◆ ~AndroidProgressBarControl()

QAndroidStyle::AndroidProgressBarControl::~AndroidProgressBarControl ( )
virtual

Definition at line 1576 of file qandroidstyle.cpp.

Member Function Documentation

◆ drawControl()

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

Reimplemented from QAndroidStyle::AndroidControl.

Reimplemented in QAndroidStyle::AndroidSeekBarControl.

Definition at line 1582 of file qandroidstyle.cpp.

◆ sizeFromContents()

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

Reimplemented from QAndroidStyle::AndroidControl.

Reimplemented in QAndroidStyle::AndroidSeekBarControl.

Definition at line 1637 of file qandroidstyle.cpp.

◆ subElementRect()

QRect QAndroidStyle::AndroidProgressBarControl::subElementRect ( SubElement subElement,
const QStyleOption * option,
const QWidget * widget = nullptr ) const
virtual

Reimplemented from QAndroidStyle::AndroidControl.

Definition at line 1601 of file qandroidstyle.cpp.

Member Data Documentation

◆ m_indeterminateDrawable

AndroidDrawable* QAndroidStyle::AndroidProgressBarControl::m_indeterminateDrawable
protected

Definition at line 269 of file qandroidstyle_p.h.

◆ m_progressDrawable

AndroidDrawable* QAndroidStyle::AndroidProgressBarControl::m_progressDrawable
protected

Definition at line 268 of file qandroidstyle_p.h.

◆ m_progressId

int QAndroidStyle::AndroidProgressBarControl::m_progressId
protected

Definition at line 271 of file qandroidstyle_p.h.

◆ m_secondaryProgress_id

int QAndroidStyle::AndroidProgressBarControl::m_secondaryProgress_id
protected

Definition at line 270 of file qandroidstyle_p.h.


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