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
QWindowsThemeData Class Reference

#include <qwindowsthemedata_p.h>

Collaboration diagram for QWindowsThemeData:

Public Member Functions

 QWindowsThemeData (const QWidget *w=nullptr, QPainter *p=nullptr, int themeIn=-1, int part=0, int state=0, const QRect &r=QRect())
HRGN mask (QWidget *widget)
HTHEME handle ()
bool isValid ()
QSizeF size ()
QMarginsF margins (const QRect &rect, int propId=TMT_CONTENTMARGINS)
QMarginsF margins (int propId=TMT_CONTENTMARGINS)

Static Public Member Functions

static QSizeF themeSize (const QWidget *w=nullptr, QPainter *p=nullptr, int themeIn=-1, int part=0, int state=0)
static RECT toRECT (const QRect &qr)

Public Attributes

const QWidgetwidget
QPainterpainter
int theme
HTHEME htheme = nullptr
int partId
int stateId
uint mirrorHorizontally: 1
uint mirrorVertically: 1
uint noBorder: 1
uint noContent: 1
uint invertPixels: 1
uint rotate = 0
QRect rect

Detailed Description

Definition at line 56 of file qwindowsthemedata_p.h.

Constructor & Destructor Documentation

◆ QWindowsThemeData()

QWindowsThemeData::QWindowsThemeData ( const QWidget * w = nullptr,
QPainter * p = nullptr,
int themeIn = -1,
int part = 0,
int state = 0,
const QRect & r = QRect() )
inlineexplicit

Definition at line 59 of file qwindowsthemedata_p.h.

Member Function Documentation

◆ handle()

HTHEME QWindowsThemeData::handle ( )

Definition at line 21 of file qwindowsthemedata.cpp.

References QWindowsVistaStylePrivate::useVista().

Here is the call graph for this function:

◆ isValid()

bool QWindowsThemeData::isValid ( )

Definition at line 11 of file qwindowsthemedata.cpp.

◆ margins() [1/2]

QMarginsF QWindowsThemeData::margins ( const QRect & rect,
int propId = TMT_CONTENTMARGINS )
inline

Definition at line 163 of file qwindowsthemedata_p.h.

◆ margins() [2/2]

QMarginsF QWindowsThemeData::margins ( int propId = TMT_CONTENTMARGINS)
inline

Definition at line 175 of file qwindowsthemedata_p.h.

◆ mask()

HRGN QWindowsThemeData::mask ( QWidget * widget)

Definition at line 48 of file qwindowsthemedata.cpp.

◆ size()

QSizeF QWindowsThemeData::size ( )
inline

Definition at line 146 of file qwindowsthemedata_p.h.

◆ themeSize()

QSizeF QWindowsThemeData::themeSize ( const QWidget * w = nullptr,
QPainter * p = nullptr,
int themeIn = -1,
int part = 0,
int state = 0 )
inlinestatic

Definition at line 157 of file qwindowsthemedata_p.h.

◆ toRECT()

RECT QWindowsThemeData::toRECT ( const QRect & qr)
static

Definition at line 34 of file qwindowsthemedata.cpp.

Member Data Documentation

◆ htheme

HTHEME QWindowsThemeData::htheme = nullptr

Definition at line 82 of file qwindowsthemedata_p.h.

◆ invertPixels

uint QWindowsThemeData::invertPixels

Definition at line 90 of file qwindowsthemedata_p.h.

◆ mirrorHorizontally

uint QWindowsThemeData::mirrorHorizontally

Definition at line 86 of file qwindowsthemedata_p.h.

◆ mirrorVertically

uint QWindowsThemeData::mirrorVertically

Definition at line 87 of file qwindowsthemedata_p.h.

◆ noBorder

uint QWindowsThemeData::noBorder

Definition at line 88 of file qwindowsthemedata_p.h.

◆ noContent

uint QWindowsThemeData::noContent

Definition at line 89 of file qwindowsthemedata_p.h.

◆ painter

QPainter* QWindowsThemeData::painter

Definition at line 79 of file qwindowsthemedata_p.h.

◆ partId

int QWindowsThemeData::partId

Definition at line 83 of file qwindowsthemedata_p.h.

◆ rect

QRect QWindowsThemeData::rect

Definition at line 92 of file qwindowsthemedata_p.h.

◆ rotate

uint QWindowsThemeData::rotate = 0

Definition at line 91 of file qwindowsthemedata_p.h.

◆ stateId

int QWindowsThemeData::stateId

Definition at line 84 of file qwindowsthemedata_p.h.

◆ theme

int QWindowsThemeData::theme

Definition at line 81 of file qwindowsthemedata_p.h.

◆ widget

const QWidget* QWindowsThemeData::widget

Definition at line 78 of file qwindowsthemedata_p.h.


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