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

#include <cards_display_settings.h>

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

Signals

void displayCardNamesChanged ()
void roundCardCornersChanged (bool roundCardCorners)
void overrideAllCardArtWithPersonalPreferenceChanged (bool _overrideAllCardArtWithPersonalPreference)
void bumpSetsWithCardsInDeckToTopChanged ()
void printingSelectorSortOrderChanged ()
void printingSelectorCardSizeChanged ()
void includeRebalancedCardsChanged (bool _includeRebalancedCards)
void printingSelectorNavigationButtonsVisibleChanged ()
void visualDeckStorageCardSizeChanged ()
void visualDatabaseDisplayCardSizeChanged ()
void visualDeckEditorCardSizeChanged ()
void edhRecCardSizeChanged ()
void archidektPreviewSizeChanged ()
void sampleHandSizeChanged (int amount)

Public Member Functions

bool getDisplayCardNames () const override
bool getRoundCardCorners () const override
bool getOverrideAllCardArtWithPersonalPreference () const override
bool getBumpSetsWithCardsInDeckToTop () const override
int getPrintingSelectorSortOrder () const override
int getPrintingSelectorCardSize () const override
bool getIncludeRebalancedCards () const override
bool getPrintingSelectorNavigationButtonsVisible () const override
bool getTapAnimation () const override
bool getArrowDrawAnimation () const override
bool getAutoRotateSidewaysLayoutCards () const override
bool getScaleCards () const override
int getStackCardOverlapPercent () const override
int getCardInfoViewMode () const override
int getVisualDeckStorageCardSize () const override
int getVisualDatabaseDisplayCardSize () const override
int getVisualDeckEditorCardSize () const override
int getEDHRecCardSize () const override
int getArchidektPreviewSize () const override
int getSampleHandSize () const override
void setDisplayCardNames (bool _displayCardNames)
void setRoundCardCorners (bool _roundCardCorners)
void setOverrideAllCardArtWithPersonalPreference (bool _overrideAllCardArt)
void setBumpSetsWithCardsInDeckToTop (bool _bumpSetsWithCardsInDeckToTop)
void setPrintingSelectorSortOrder (int _printingSelectorSortOrder)
void setPrintingSelectorCardSize (int _printingSelectorCardSize)
void setIncludeRebalancedCards (bool _includeRebalancedCards)
void setPrintingSelectorNavigationButtonsVisible (bool _navigationButtonsVisible)
void setTapAnimation (bool _tapAnimation)
void setArrowDrawAnimation (bool _arrowDrawAnimation)
void setAutoRotateSidewaysLayoutCards (bool _autoRotateSidewaysLayoutCards)
void setCardScaling (bool _scaleCards)
void setStackCardOverlapPercent (int _verticalCardOverlapPercent)
void setCardInfoViewMode (int _viewMode)
void setVisualDeckStorageCardSize (int _cardSize)
void setVisualDatabaseDisplayCardSize (int _cardSize)
void setVisualDeckEditorCardSize (int _cardSize)
void setEDHRecCardSize (int _edhrecCardSize)
void setArchidektPreviewCardSize (int _archidektPreviewCardSize)
void setSampleHandSize (int _sampleHandSize)
 CardsDisplaySettings (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 ()
Public Member Functions inherited from ICardsDisplaySettingsProvider
virtual ~ICardsDisplaySettingsProvider ()=default

Private Member Functions

 CardsDisplaySettings (const CardsDisplaySettings &)

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

◆ CardsDisplaySettings() [1/2]

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

◆ CardsDisplaySettings() [2/2]

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

Member Function Documentation

◆ archidektPreviewSizeChanged

void CardsDisplaySettings::archidektPreviewSizeChanged ( )
signal
Here is the caller graph for this function:

◆ bumpSetsWithCardsInDeckToTopChanged

void CardsDisplaySettings::bumpSetsWithCardsInDeckToTopChanged ( )
signal
Here is the caller graph for this function:

◆ displayCardNamesChanged

void CardsDisplaySettings::displayCardNamesChanged ( )
signal
Here is the caller graph for this function:

◆ edhRecCardSizeChanged

void CardsDisplaySettings::edhRecCardSizeChanged ( )
signal
Here is the caller graph for this function:

◆ getArchidektPreviewSize()

int CardsDisplaySettings::getArchidektPreviewSize ( ) const
nodiscardoverridevirtual

Implements ICardsDisplaySettingsProvider.

Here is the call graph for this function:

◆ getArrowDrawAnimation()

bool CardsDisplaySettings::getArrowDrawAnimation ( ) const
nodiscardoverridevirtual

Implements ICardsDisplaySettingsProvider.

Here is the call graph for this function:

◆ getAutoRotateSidewaysLayoutCards()

bool CardsDisplaySettings::getAutoRotateSidewaysLayoutCards ( ) const
nodiscardoverridevirtual

Implements ICardsDisplaySettingsProvider.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getBumpSetsWithCardsInDeckToTop()

bool CardsDisplaySettings::getBumpSetsWithCardsInDeckToTop ( ) const
nodiscardoverridevirtual

Implements ICardsDisplaySettingsProvider.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getCardInfoViewMode()

int CardsDisplaySettings::getCardInfoViewMode ( ) const
nodiscardoverridevirtual

Implements ICardsDisplaySettingsProvider.

Here is the call graph for this function:

◆ getDisplayCardNames()

bool CardsDisplaySettings::getDisplayCardNames ( ) const
nodiscardoverridevirtual

Implements ICardsDisplaySettingsProvider.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getEDHRecCardSize()

int CardsDisplaySettings::getEDHRecCardSize ( ) const
nodiscardoverridevirtual

Implements ICardsDisplaySettingsProvider.

Here is the call graph for this function:

◆ getIncludeRebalancedCards()

bool CardsDisplaySettings::getIncludeRebalancedCards ( ) const
nodiscardoverridevirtual

Implements ICardsDisplaySettingsProvider.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getOverrideAllCardArtWithPersonalPreference()

bool CardsDisplaySettings::getOverrideAllCardArtWithPersonalPreference ( ) const
nodiscardoverridevirtual

Implements ICardsDisplaySettingsProvider.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getPrintingSelectorCardSize()

int CardsDisplaySettings::getPrintingSelectorCardSize ( ) const
nodiscardoverridevirtual

Implements ICardsDisplaySettingsProvider.

Here is the call graph for this function:

◆ getPrintingSelectorNavigationButtonsVisible()

bool CardsDisplaySettings::getPrintingSelectorNavigationButtonsVisible ( ) const
nodiscardoverridevirtual

Implements ICardsDisplaySettingsProvider.

Here is the call graph for this function:

◆ getPrintingSelectorSortOrder()

int CardsDisplaySettings::getPrintingSelectorSortOrder ( ) const
nodiscardoverridevirtual

Implements ICardsDisplaySettingsProvider.

Here is the call graph for this function:

◆ getRoundCardCorners()

bool CardsDisplaySettings::getRoundCardCorners ( ) const
nodiscardoverridevirtual

Implements ICardsDisplaySettingsProvider.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getSampleHandSize()

int CardsDisplaySettings::getSampleHandSize ( ) const
nodiscardoverridevirtual

Implements ICardsDisplaySettingsProvider.

Here is the call graph for this function:

◆ getScaleCards()

bool CardsDisplaySettings::getScaleCards ( ) const
nodiscardoverridevirtual

Implements ICardsDisplaySettingsProvider.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getStackCardOverlapPercent()

int CardsDisplaySettings::getStackCardOverlapPercent ( ) const
nodiscardoverridevirtual

Implements ICardsDisplaySettingsProvider.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getTapAnimation()

bool CardsDisplaySettings::getTapAnimation ( ) const
nodiscardoverridevirtual

Implements ICardsDisplaySettingsProvider.

Here is the call graph for this function:

◆ getVisualDatabaseDisplayCardSize()

int CardsDisplaySettings::getVisualDatabaseDisplayCardSize ( ) const
nodiscardoverridevirtual

Implements ICardsDisplaySettingsProvider.

Here is the call graph for this function:

◆ getVisualDeckEditorCardSize()

int CardsDisplaySettings::getVisualDeckEditorCardSize ( ) const
nodiscardoverridevirtual

Implements ICardsDisplaySettingsProvider.

Here is the call graph for this function:

◆ getVisualDeckStorageCardSize()

int CardsDisplaySettings::getVisualDeckStorageCardSize ( ) const
nodiscardoverridevirtual

Implements ICardsDisplaySettingsProvider.

Here is the call graph for this function:

◆ includeRebalancedCardsChanged

void CardsDisplaySettings::includeRebalancedCardsChanged ( bool _includeRebalancedCards)
signal
Here is the caller graph for this function:

◆ overrideAllCardArtWithPersonalPreferenceChanged

void CardsDisplaySettings::overrideAllCardArtWithPersonalPreferenceChanged ( bool _overrideAllCardArtWithPersonalPreference)
signal
Here is the caller graph for this function:

◆ printingSelectorCardSizeChanged

void CardsDisplaySettings::printingSelectorCardSizeChanged ( )
signal
Here is the caller graph for this function:

◆ printingSelectorNavigationButtonsVisibleChanged

void CardsDisplaySettings::printingSelectorNavigationButtonsVisibleChanged ( )
signal
Here is the caller graph for this function:

◆ printingSelectorSortOrderChanged

void CardsDisplaySettings::printingSelectorSortOrderChanged ( )
signal
Here is the caller graph for this function:

◆ roundCardCornersChanged

void CardsDisplaySettings::roundCardCornersChanged ( bool roundCardCorners)
signal
Here is the caller graph for this function:

◆ sampleHandSizeChanged

void CardsDisplaySettings::sampleHandSizeChanged ( int amount)
signal
Here is the caller graph for this function:

◆ setArchidektPreviewCardSize()

void CardsDisplaySettings::setArchidektPreviewCardSize ( int _archidektPreviewCardSize)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setArrowDrawAnimation()

void CardsDisplaySettings::setArrowDrawAnimation ( bool _arrowDrawAnimation)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setAutoRotateSidewaysLayoutCards()

void CardsDisplaySettings::setAutoRotateSidewaysLayoutCards ( bool _autoRotateSidewaysLayoutCards)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setBumpSetsWithCardsInDeckToTop()

void CardsDisplaySettings::setBumpSetsWithCardsInDeckToTop ( bool _bumpSetsWithCardsInDeckToTop)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setCardInfoViewMode()

void CardsDisplaySettings::setCardInfoViewMode ( int _viewMode)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setCardScaling()

void CardsDisplaySettings::setCardScaling ( bool _scaleCards)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setDisplayCardNames()

void CardsDisplaySettings::setDisplayCardNames ( bool _displayCardNames)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setEDHRecCardSize()

void CardsDisplaySettings::setEDHRecCardSize ( int _edhrecCardSize)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setIncludeRebalancedCards()

void CardsDisplaySettings::setIncludeRebalancedCards ( bool _includeRebalancedCards)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setOverrideAllCardArtWithPersonalPreference()

void CardsDisplaySettings::setOverrideAllCardArtWithPersonalPreference ( bool _overrideAllCardArt)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setPrintingSelectorCardSize()

void CardsDisplaySettings::setPrintingSelectorCardSize ( int _printingSelectorCardSize)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setPrintingSelectorNavigationButtonsVisible()

void CardsDisplaySettings::setPrintingSelectorNavigationButtonsVisible ( bool _navigationButtonsVisible)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setPrintingSelectorSortOrder()

void CardsDisplaySettings::setPrintingSelectorSortOrder ( int _printingSelectorSortOrder)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setRoundCardCorners()

void CardsDisplaySettings::setRoundCardCorners ( bool _roundCardCorners)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setSampleHandSize()

void CardsDisplaySettings::setSampleHandSize ( int _sampleHandSize)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setStackCardOverlapPercent()

void CardsDisplaySettings::setStackCardOverlapPercent ( int _verticalCardOverlapPercent)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setTapAnimation()

void CardsDisplaySettings::setTapAnimation ( bool _tapAnimation)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setVisualDatabaseDisplayCardSize()

void CardsDisplaySettings::setVisualDatabaseDisplayCardSize ( int _cardSize)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setVisualDeckEditorCardSize()

void CardsDisplaySettings::setVisualDeckEditorCardSize ( int _cardSize)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setVisualDeckStorageCardSize()

void CardsDisplaySettings::setVisualDeckStorageCardSize ( int _cardSize)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ visualDatabaseDisplayCardSizeChanged

void CardsDisplaySettings::visualDatabaseDisplayCardSizeChanged ( )
signal
Here is the caller graph for this function:

◆ visualDeckEditorCardSizeChanged

void CardsDisplaySettings::visualDeckEditorCardSizeChanged ( )
signal
Here is the caller graph for this function:

◆ visualDeckStorageCardSizeChanged

void CardsDisplaySettings::visualDeckStorageCardSizeChanged ( )
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: