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

#include <qpalette_p.h>

+ Collaboration diagram for QPalettePrivate:

Classes

class  Data
 

Public Member Functions

 QPalettePrivate (const QExplicitlySharedDataPointer< Data > &data)
 
 QPalettePrivate ()
 

Static Public Member Functions

static constexpr QPalette::ResolveMask colorRoleOffset (QPalette::ColorGroup colorGroup)
 
static constexpr QPalette::ResolveMask bitPosition (QPalette::ColorGroup colorGroup, QPalette::ColorRole colorRole)
 

Public Attributes

QAtomicInt ref
 
QPalette::ResolveMask resolveMask = {0}
 
int detach_no = ++qt_palette_private_count
 
QExplicitlySharedDataPointer< Datadata
 

Static Public Attributes

static int qt_palette_count = 0
 
static int qt_palette_private_count = 0
 

Detailed Description

Definition at line 22 of file qpalette_p.h.

Constructor & Destructor Documentation

◆ QPalettePrivate() [1/2]

QPalettePrivate::QPalettePrivate ( const QExplicitlySharedDataPointer< Data > & data)
inline

Definition at line 44 of file qpalette_p.h.

◆ QPalettePrivate() [2/2]

QPalettePrivate::QPalettePrivate ( )
inline

Definition at line 47 of file qpalette_p.h.

Member Function Documentation

◆ bitPosition()

static constexpr QPalette::ResolveMask QPalettePrivate::bitPosition ( QPalette::ColorGroup colorGroup,
QPalette::ColorRole colorRole )
inlinestaticconstexpr

Definition at line 57 of file qpalette_p.h.

References QPalette::Accent, and QPalette::NoRole.

Referenced by allResolveMask(), QPalette::isBrushSet(), QQuickPaletteColorProvider::resetColor(), QQuickPaletteColorProvider::resetColor(), QPalette::resolve(), QPalette::setBrush(), and QPalette::setColorGroup().

+ Here is the caller graph for this function:

◆ colorRoleOffset()

static constexpr QPalette::ResolveMask QPalettePrivate::colorRoleOffset ( QPalette::ColorGroup colorGroup)
inlinestaticconstexpr

Definition at line 51 of file qpalette_p.h.

References QPalette::NColorRoles, and qToUnderlying().

+ Here is the call graph for this function:

Member Data Documentation

◆ data

◆ detach_no

int QPalettePrivate::detach_no = ++qt_palette_private_count

Definition at line 71 of file qpalette_p.h.

Referenced by QPalette::cacheKey().

◆ qt_palette_count

int QPalettePrivate::qt_palette_count = 0
inlinestatic

Definition at line 69 of file qpalette_p.h.

◆ qt_palette_private_count

int QPalettePrivate::qt_palette_private_count = 0
inlinestatic

Definition at line 70 of file qpalette_p.h.

◆ ref

QAtomicInt QPalettePrivate::ref

◆ resolveMask


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