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

#include <qandroidstyle_p.h>

Inheritance diagram for QAndroidStyle::AndroidControl:
Collaboration diagram for QAndroidStyle::AndroidControl:

Public Member Functions

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

Protected Member Functions

virtual const AndroidDrawablebackgroundDrawable () const

Protected Attributes

const AndroidDrawablem_background
QSize m_minSize
QSize m_maxSize

Detailed Description

Definition at line 217 of file qandroidstyle_p.h.

Constructor & Destructor Documentation

◆ AndroidControl()

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

Definition at line 1338 of file qandroidstyle.cpp.

◆ ~AndroidControl()

QAndroidStyle::AndroidControl::~AndroidControl ( )
virtual

Definition at line 1364 of file qandroidstyle.cpp.

Member Function Documentation

◆ backgroundDrawable()

const QAndroidStyle::AndroidDrawable * QAndroidStyle::AndroidControl::backgroundDrawable ( ) const
protectedvirtual

Reimplemented in QAndroidStyle::AndroidCompoundButtonControl.

Definition at line 1481 of file qandroidstyle.cpp.

◆ drawControl()

void QAndroidStyle::AndroidControl::drawControl ( const QStyleOption * opt,
QPainter * p,
const QWidget * w )
virtual

◆ padding()

QMargins QAndroidStyle::AndroidControl::padding ( )
virtual

Reimplemented in QAndroidStyle::AndroidCompoundButtonControl.

Definition at line 1461 of file qandroidstyle.cpp.

◆ size()

QSize QAndroidStyle::AndroidControl::size ( const QStyleOption * option)
virtual

Reimplemented in QAndroidStyle::AndroidCompoundButtonControl.

Definition at line 1471 of file qandroidstyle.cpp.

◆ sizeFromContents()

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

◆ subControlRect()

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

◆ subElementRect()

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

Reimplemented in QAndroidStyle::AndroidProgressBarControl.

Definition at line 1405 of file qandroidstyle.cpp.

Member Data Documentation

◆ m_background

const AndroidDrawable* QAndroidStyle::AndroidControl::m_background
protected

Definition at line 236 of file qandroidstyle_p.h.

◆ m_maxSize

QSize QAndroidStyle::AndroidControl::m_maxSize
protected

Definition at line 238 of file qandroidstyle_p.h.

◆ m_minSize

QSize QAndroidStyle::AndroidControl::m_minSize
protected

Definition at line 237 of file qandroidstyle_p.h.


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