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

Constructor & Destructor Documentation

◆ AndroidCompoundButtonControl()

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

Definition at line 1485 of file qandroidstyle.cpp.

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

+ Here is the call graph for this function:

◆ ~AndroidCompoundButtonControl()

QAndroidStyle::AndroidCompoundButtonControl::~AndroidCompoundButtonControl ( )
virtual

Definition at line 1498 of file qandroidstyle.cpp.

Member Function Documentation

◆ backgroundDrawable()

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

Reimplemented from QAndroidStyle::AndroidControl.

Definition at line 1529 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 1503 of file qandroidstyle.cpp.

References QAndroidStyle::AndroidControl::drawControl(), and opt.

Referenced by QAndroidStyle::drawComplexControl().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ padding()

QMargins QAndroidStyle::AndroidCompoundButtonControl::padding ( )
virtual

Reimplemented from QAndroidStyle::AndroidControl.

Definition at line 1512 of file qandroidstyle.cpp.

References QAndroidStyle::AndroidControl::padding().

+ Here is the call graph for this function:

◆ size()

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

Reimplemented from QAndroidStyle::AndroidControl.

Definition at line 1519 of file qandroidstyle.cpp.

References QAndroidStyle::AndroidDrawable::size(), and QAndroidStyle::AndroidControl::size().

Referenced by QAndroidStyle::pixelMetric(), QAndroidStyle::sizeFromContents(), and QAndroidStyle::subControlRect().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ m_button

const AndroidDrawable* QAndroidStyle::AndroidCompoundButtonControl::m_button
protected

Definition at line 250 of file qandroidstyle_p.h.

Referenced by AndroidCompoundButtonControl().


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