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
QMacStylePrivate::CocoaControl Struct Reference

#include <qmacstyle_mac_p_p.h>

+ Collaboration diagram for QMacStylePrivate::CocoaControl:

Public Member Functions

 CocoaControl ()
 
 CocoaControl (CocoaControlType t, QStyleHelper::WidgetSizePolicy s)
 
bool operator== (const CocoaControl &other) const
 
QSizeF defaultFrameSize () const
 
QRectF adjustedControlFrame (const QRectF &rect) const
 
QMarginsF titleMargins () const
 
bool getCocoaButtonTypeAndBezelStyle (NSButtonType *buttonType, NSBezelStyle *bezelStyle) const
 

Public Attributes

CocoaControlType type
 
QStyleHelper::WidgetSizePolicy size
 

Detailed Description

Definition at line 187 of file qmacstyle_mac_p_p.h.

Constructor & Destructor Documentation

◆ CocoaControl() [1/2]

QMacStylePrivate::CocoaControl::CocoaControl ( )

Definition at line 1482 of file qmacstyle_mac.mm.

◆ CocoaControl() [2/2]

QMacStylePrivate::CocoaControl::CocoaControl ( CocoaControlType t,
QStyleHelper::WidgetSizePolicy s )

Definition at line 1487 of file qmacstyle_mac.mm.

Member Function Documentation

◆ adjustedControlFrame()

QRectF QMacStylePrivate::CocoaControl::adjustedControlFrame ( const QRectF & rect) const

◆ defaultFrameSize()

◆ getCocoaButtonTypeAndBezelStyle()

bool QMacStylePrivate::CocoaControl::getCocoaButtonTypeAndBezelStyle ( NSButtonType * buttonType,
NSBezelStyle * bezelStyle ) const

◆ operator==()

bool QMacStylePrivate::CocoaControl::operator== ( const CocoaControl & other) const

Definition at line 1492 of file qmacstyle_mac.mm.

References other().

+ Here is the call graph for this function:

◆ titleMargins()

Member Data Documentation

◆ size

QStyleHelper::WidgetSizePolicy QMacStylePrivate::CocoaControl::size

Definition at line 192 of file qmacstyle_mac_p_p.h.

Referenced by QMacStylePrivate::drawFocusRing().

◆ type

CocoaControlType QMacStylePrivate::CocoaControl::type

Definition at line 191 of file qmacstyle_mac_p_p.h.


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