Cockatrice 2025-11-30-Development-2.11.0-beta.38
A cross-platform virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
UserLevelPixmapGenerator Class Reference

#include <pixel_map_generator.h>

Static Public Member Functions

static QPixmap generatePixmap (int height, UserLevelFlags userLevel, ServerInfo_User::PawnColorsOverride pawnColors, bool isBuddy, const QString &privLevel)
static QIcon generateIcon (int minHeight, UserLevelFlags userLevel, ServerInfo_User::PawnColorsOverride pawnColors, bool isBuddy, const QString &privLevel)
static void clear ()

Static Private Member Functions

static QIcon generateIconDefault (int height, UserLevelFlags userLevel, bool isBuddy, const QString &privLevel)
static QIcon generateIconWithColorOverride (int height, bool isBuddy, const UserLevelFlags &userLevelFlags, const QString &privLevel, const std::optional< QString > &colorLeft, const std::optional< QString > &colorRight)

Static Private Attributes

static QMap< QString, QIcon > iconCache

Member Function Documentation

◆ clear()

void UserLevelPixmapGenerator::clear ( )
inlinestatic
Here is the caller graph for this function:

◆ generateIcon()

QIcon UserLevelPixmapGenerator::generateIcon ( int minHeight,
UserLevelFlags userLevel,
ServerInfo_User::PawnColorsOverride pawnColors,
bool isBuddy,
const QString & privLevel )
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ generateIconDefault()

QIcon UserLevelPixmapGenerator::generateIconDefault ( int height,
UserLevelFlags userLevel,
bool isBuddy,
const QString & privLevel )
staticprivate
Here is the call graph for this function:
Here is the caller graph for this function:

◆ generateIconWithColorOverride()

QIcon UserLevelPixmapGenerator::generateIconWithColorOverride ( int height,
bool isBuddy,
const UserLevelFlags & userLevelFlags,
const QString & privLevel,
const std::optional< QString > & colorLeft,
const std::optional< QString > & colorRight )
staticprivate
Here is the call graph for this function:
Here is the caller graph for this function:

◆ generatePixmap()

QPixmap UserLevelPixmapGenerator::generatePixmap ( int height,
UserLevelFlags userLevel,
ServerInfo_User::PawnColorsOverride pawnColors,
bool isBuddy,
const QString & privLevel )
static
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ iconCache

QMap< QString, QIcon > UserLevelPixmapGenerator::iconCache
staticprivate

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