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

#include <qandroidstyle_p.h>

Inheritance diagram for QAndroidStyle::AndroidCompoundButtonControl:
Collaboration diagram for QAndroidStyle::AndroidCompoundButtonControl:

Public Member Functions

 AndroidCompoundButtonControl (const QVariantMap &control, ItemType itemType)
virtual ~AndroidCompoundButtonControl ()
virtual void drawControl (const QStyleOption *opt, QPainter *p, const QWidget *w)
virtual QMargins padding ()
virtual QSize size (const QStyleOption *option)
Public Member Functions inherited from QAndroidStyle::AndroidControl
 AndroidControl (const QVariantMap &control, ItemType itemType)
virtual ~AndroidControl ()
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

Protected Member Functions

virtual const AndroidDrawablebackgroundDrawable () const

Protected Attributes

const AndroidDrawablem_button
Protected Attributes inherited from QAndroidStyle::AndroidControl
const AndroidDrawablem_background
QSize m_minSize
QSize m_maxSize

Detailed Description

Definition at line 241 of file qandroidstyle_p.h.

Constructor & Destructor Documentation

◆ AndroidCompoundButtonControl()

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

Definition at line 1486 of file qandroidstyle.cpp.

◆ ~AndroidCompoundButtonControl()

QAndroidStyle::AndroidCompoundButtonControl::~AndroidCompoundButtonControl ( )
virtual

Definition at line 1499 of file qandroidstyle.cpp.

Member Function Documentation

◆ backgroundDrawable()

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

Reimplemented from QAndroidStyle::AndroidControl.

Definition at line 1530 of file qandroidstyle.cpp.

◆ drawControl()

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

Reimplemented from QAndroidStyle::AndroidControl.

Definition at line 1504 of file qandroidstyle.cpp.

◆ padding()

QMargins QAndroidStyle::AndroidCompoundButtonControl::padding ( )
virtual

Reimplemented from QAndroidStyle::AndroidControl.

Definition at line 1513 of file qandroidstyle.cpp.

◆ size()

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

Reimplemented from QAndroidStyle::AndroidControl.

Definition at line 1520 of file qandroidstyle.cpp.

Member Data Documentation

◆ m_button

const AndroidDrawable* QAndroidStyle::AndroidCompoundButtonControl::m_button
protected

Definition at line 251 of file qandroidstyle_p.h.


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