Cockatrice 2026-10-19-Development-3.1.2-beta.2
A virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
AppearanceSettings Class Reference

#include <appearance_settings.h>

Inheritance diagram for AppearanceSettings:
[legend]
Collaboration diagram for AppearanceSettings:
[legend]

Signals

void themeNameChanged ()
void styleUserListChanged ()
void homeTabBackgroundSourceChanged ()
void homeTabBackgroundShuffleFrequencyChanged ()
void homeTabDisplayCardNameChanged ()
void homeTabBackgroundDimChanged ()
void homeTabButtonColorChanged ()

Public Member Functions

QString getThemeName () const
void setThemeName (const QString &_themeName)
bool getStyleUserList () const
void setStyleUserList (bool _styleUserList)
int getMaxFontSize () const
void setMaxFontSize (int _max)
QString getHomeTabBackgroundSource () const
void setHomeTabBackgroundSource (const QString &_backgroundSource)
int getHomeTabBackgroundShuffleFrequency () const
void setHomeTabBackgroundShuffleFrequency (int _frequency)
bool getHomeTabDisplayCardName () const
void setHomeTabDisplayCardName (bool _displayCardName)
bool getHomeTabBackgroundDim () const
void setHomeTabBackgroundDim (bool _dimBackground)
int getHomeTabButtonColorSourceIndex () const
void setHomeTabButtonColorSourceIndex (int index)
 AppearanceSettings (const QString &settingPath, QObject *parent=nullptr)
Public Member Functions inherited from SettingsManager
 SettingsManager (const QString &settingPath, const QString &defaultGroup=QString(), const QString &defaultSubGroup=QString(), QObject *parent=nullptr)
QVariant getValue (const QString &name) const
QVariant getValue (const QString &name, const QString &group, const QString &subGroup=QString()) const
QVariant getValue (const QString &name, const QString &group, const QString &subGroup, const QVariant &defaultValue) const
void batchWrite (std::function< void(QSettings &)> batchWriteFunction)
void sync ()

Private Member Functions

 AppearanceSettings (const AppearanceSettings &)

Friends

class SettingsCache

Additional Inherited Members

Protected Member Functions inherited from SettingsManager
QSettings getSettings () const
void setValue (const QVariant &value, const QString &name)
void setValue (const QVariant &value, const QString &name, const QString &group, const QString &subGroup=QString())
void deleteValue (const QString &name)
void deleteValue (const QString &name, const QString &group, const QString &subGroup=QString())
Protected Attributes inherited from SettingsManager
QString settingPath
QString defaultGroup
QString defaultSubGroup

Constructor & Destructor Documentation

◆ AppearanceSettings() [1/2]

AppearanceSettings::AppearanceSettings ( const QString & settingPath,
QObject * parent = nullptr )
explicit
Here is the call graph for this function:
Here is the caller graph for this function:

◆ AppearanceSettings() [2/2]

AppearanceSettings::AppearanceSettings ( const AppearanceSettings & )
private
Here is the call graph for this function:

Member Function Documentation

◆ getHomeTabBackgroundDim()

bool AppearanceSettings::getHomeTabBackgroundDim ( ) const
nodiscard
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getHomeTabBackgroundShuffleFrequency()

int AppearanceSettings::getHomeTabBackgroundShuffleFrequency ( ) const
nodiscard
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getHomeTabBackgroundSource()

QString AppearanceSettings::getHomeTabBackgroundSource ( ) const
nodiscard
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getHomeTabButtonColorSourceIndex()

int AppearanceSettings::getHomeTabButtonColorSourceIndex ( ) const
nodiscard
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getHomeTabDisplayCardName()

bool AppearanceSettings::getHomeTabDisplayCardName ( ) const
nodiscard
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getMaxFontSize()

int AppearanceSettings::getMaxFontSize ( ) const
nodiscard
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getStyleUserList()

bool AppearanceSettings::getStyleUserList ( ) const
nodiscard
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getThemeName()

QString AppearanceSettings::getThemeName ( ) const
nodiscard
Here is the call graph for this function:
Here is the caller graph for this function:

◆ homeTabBackgroundDimChanged

void AppearanceSettings::homeTabBackgroundDimChanged ( )
signal
Here is the caller graph for this function:

◆ homeTabBackgroundShuffleFrequencyChanged

void AppearanceSettings::homeTabBackgroundShuffleFrequencyChanged ( )
signal
Here is the caller graph for this function:

◆ homeTabBackgroundSourceChanged

void AppearanceSettings::homeTabBackgroundSourceChanged ( )
signal
Here is the caller graph for this function:

◆ homeTabButtonColorChanged

void AppearanceSettings::homeTabButtonColorChanged ( )
signal
Here is the caller graph for this function:

◆ homeTabDisplayCardNameChanged

void AppearanceSettings::homeTabDisplayCardNameChanged ( )
signal
Here is the caller graph for this function:

◆ setHomeTabBackgroundDim()

void AppearanceSettings::setHomeTabBackgroundDim ( bool _dimBackground)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setHomeTabBackgroundShuffleFrequency()

void AppearanceSettings::setHomeTabBackgroundShuffleFrequency ( int _frequency)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setHomeTabBackgroundSource()

void AppearanceSettings::setHomeTabBackgroundSource ( const QString & _backgroundSource)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setHomeTabButtonColorSourceIndex()

void AppearanceSettings::setHomeTabButtonColorSourceIndex ( int index)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setHomeTabDisplayCardName()

void AppearanceSettings::setHomeTabDisplayCardName ( bool _displayCardName)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setMaxFontSize()

void AppearanceSettings::setMaxFontSize ( int _max)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setStyleUserList()

void AppearanceSettings::setStyleUserList ( bool _styleUserList)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setThemeName()

void AppearanceSettings::setThemeName ( const QString & _themeName)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ styleUserListChanged

void AppearanceSettings::styleUserListChanged ( )
signal
Here is the caller graph for this function:

◆ themeNameChanged

void AppearanceSettings::themeNameChanged ( )
signal
Here is the caller graph for this function:

◆ SettingsCache

friend class SettingsCache
friend

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