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
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 QAtomicInt qt_palette_count = Q_BASIC_ATOMIC_INITIALIZER(0)
static QAtomicInt qt_palette_private_count = Q_BASIC_ATOMIC_INITIALIZER(0)

Detailed Description

Definition at line 25 of file qpalette_p.h.

Constructor & Destructor Documentation

◆ QPalettePrivate() [1/2]

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

Definition at line 47 of file qpalette_p.h.

◆ QPalettePrivate() [2/2]

QPalettePrivate::QPalettePrivate ( )
inline

Definition at line 50 of file qpalette_p.h.

Member Function Documentation

◆ bitPosition()

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

Definition at line 60 of file qpalette_p.h.

◆ colorRoleOffset()

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

Definition at line 54 of file qpalette_p.h.

Member Data Documentation

◆ data

QExplicitlySharedDataPointer<Data> QPalettePrivate::data

Definition at line 75 of file qpalette_p.h.

◆ detach_no

int QPalettePrivate::detach_no = ++qt_palette_private_count

Definition at line 74 of file qpalette_p.h.

◆ qt_palette_count

QT_BEGIN_NAMESPACE Q_CONSTINIT QAtomicInt QPalettePrivate::qt_palette_count = Q_BASIC_ATOMIC_INITIALIZER(0)
static

Definition at line 72 of file qpalette_p.h.

◆ qt_palette_private_count

Q_CONSTINIT QAtomicInt QPalettePrivate::qt_palette_private_count = Q_BASIC_ATOMIC_INITIALIZER(0)
static

Definition at line 73 of file qpalette_p.h.

◆ ref

QAtomicInt QPalettePrivate::ref

Definition at line 70 of file qpalette_p.h.

◆ resolveMask

QPalette::ResolveMask QPalettePrivate::resolveMask = {0}

Definition at line 71 of file qpalette_p.h.


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