Cockatrice 2026-09-01-Development-3.1.0-beta.10
A virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
PopupTheme Struct Reference

#include <user_info_popup.h>

Static Public Member Functions

static PopupTheme fromPalette (const QPalette &palette, bool dark)

Public Attributes

bool dark = false
QColor bg
QColor border
QColor text
QColor subText
QColor buttonBg
QColor buttonBorder
QColor buttonHover
QColor buttonPressed
QColor buttonDisabled
QColor closeBg
QColor closeHover
QColor gamesRow
QColor gamesSelected
QColor gamesSeparator
QColor statusText

Detailed Description

Palette-derived colors for the popup chrome. Both color schemes read from the active QPalette so custom palettes are respected. dark only tunes the blend strengths.

Member Function Documentation

◆ fromPalette()

PopupTheme PopupTheme::fromPalette ( const QPalette & palette,
bool dark )
static
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ bg

QColor PopupTheme::bg

◆ border

QColor PopupTheme::border

◆ buttonBg

QColor PopupTheme::buttonBg

◆ buttonBorder

QColor PopupTheme::buttonBorder

◆ buttonDisabled

QColor PopupTheme::buttonDisabled

◆ buttonHover

QColor PopupTheme::buttonHover

◆ buttonPressed

QColor PopupTheme::buttonPressed

◆ closeBg

QColor PopupTheme::closeBg

◆ closeHover

QColor PopupTheme::closeHover

◆ dark

bool PopupTheme::dark = false

◆ gamesRow

QColor PopupTheme::gamesRow

◆ gamesSelected

QColor PopupTheme::gamesSelected

◆ gamesSeparator

QColor PopupTheme::gamesSeparator

◆ statusText

QColor PopupTheme::statusText

◆ subText

QColor PopupTheme::subText

◆ text

QColor PopupTheme::text

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