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

#include <deck_editor_settings.h>

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

Signals

void bannerCardComboBoxVisibleChanged (bool visible)
void tagsWidgetVisibleChanged (bool visible)
void commanderSpellbookIntegrationEnabledChanged (int enabled)
void commanderSpellbookIntegrationUseOfficialBracketNamesChanged (bool useOfficialBracketNames)
void vdeStartupTabChanged (int vdeStartupTab)

Public Member Functions

bool getOpenDeckInNewTab () const override
bool getBannerCardComboBoxVisible () const override
bool getTagsWidgetVisible () const override
int getDefaultDeckEditorType () const override
int getVdeStartupTab () const
int getCommanderSpellbookIntegrationEnabled () const
bool getCommanderSpellbookIntegrationUseOfficialBracketNames () const
void setOpenDeckInNewTab (bool _openDeckInNewTab)
void setBannerCardComboBoxVisible (bool _bannerCardComboBoxVisible)
void setTagsWidgetVisible (bool _tagsWidgetVisible)
void setDefaultDeckEditorType (int _defaultDeckEditorType)
void setVdeStartupTab (int _vdeStartupTab)
void setCommanderSpellbookIntegrationEnabled (int _commanderSpellbookIntegrationEnabled)
void setCommanderSpellbookIntegrationUseOfficialBracketNames (bool _useOfficialBracketNames)
 DeckEditorSettings (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 IDeckEditorSettingsProvider
virtual ~IDeckEditorSettingsProvider ()=default

Private Member Functions

 DeckEditorSettings (const DeckEditorSettings &)

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

◆ DeckEditorSettings() [1/2]

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

◆ DeckEditorSettings() [2/2]

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

Member Function Documentation

◆ bannerCardComboBoxVisibleChanged

void DeckEditorSettings::bannerCardComboBoxVisibleChanged ( bool visible)
signal
Here is the caller graph for this function:

◆ commanderSpellbookIntegrationEnabledChanged

void DeckEditorSettings::commanderSpellbookIntegrationEnabledChanged ( int enabled)
signal
Here is the caller graph for this function:

◆ commanderSpellbookIntegrationUseOfficialBracketNamesChanged

void DeckEditorSettings::commanderSpellbookIntegrationUseOfficialBracketNamesChanged ( bool useOfficialBracketNames)
signal
Here is the caller graph for this function:

◆ getBannerCardComboBoxVisible()

bool DeckEditorSettings::getBannerCardComboBoxVisible ( ) const
nodiscardoverridevirtual

Implements IDeckEditorSettingsProvider.

Here is the call graph for this function:

◆ getCommanderSpellbookIntegrationEnabled()

int DeckEditorSettings::getCommanderSpellbookIntegrationEnabled ( ) const
nodiscard
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getCommanderSpellbookIntegrationUseOfficialBracketNames()

bool DeckEditorSettings::getCommanderSpellbookIntegrationUseOfficialBracketNames ( ) const
nodiscard
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getDefaultDeckEditorType()

int DeckEditorSettings::getDefaultDeckEditorType ( ) const
nodiscardoverridevirtual

Implements IDeckEditorSettingsProvider.

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

◆ getOpenDeckInNewTab()

bool DeckEditorSettings::getOpenDeckInNewTab ( ) const
nodiscardoverridevirtual

Implements IDeckEditorSettingsProvider.

Here is the call graph for this function:

◆ getTagsWidgetVisible()

bool DeckEditorSettings::getTagsWidgetVisible ( ) const
nodiscardoverridevirtual

Implements IDeckEditorSettingsProvider.

Here is the call graph for this function:

◆ getVdeStartupTab()

int DeckEditorSettings::getVdeStartupTab ( ) const
nodiscard
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setBannerCardComboBoxVisible()

void DeckEditorSettings::setBannerCardComboBoxVisible ( bool _bannerCardComboBoxVisible)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setCommanderSpellbookIntegrationEnabled()

void DeckEditorSettings::setCommanderSpellbookIntegrationEnabled ( int _commanderSpellbookIntegrationEnabled)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setCommanderSpellbookIntegrationUseOfficialBracketNames()

void DeckEditorSettings::setCommanderSpellbookIntegrationUseOfficialBracketNames ( bool _useOfficialBracketNames)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setDefaultDeckEditorType()

void DeckEditorSettings::setDefaultDeckEditorType ( int _defaultDeckEditorType)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setOpenDeckInNewTab()

void DeckEditorSettings::setOpenDeckInNewTab ( bool _openDeckInNewTab)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setTagsWidgetVisible()

void DeckEditorSettings::setTagsWidgetVisible ( bool _tagsWidgetVisible)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setVdeStartupTab()

void DeckEditorSettings::setVdeStartupTab ( int _vdeStartupTab)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ tagsWidgetVisibleChanged

void DeckEditorSettings::tagsWidgetVisibleChanged ( bool visible)
signal
Here is the caller graph for this function:

◆ vdeStartupTabChanged

void DeckEditorSettings::vdeStartupTabChanged ( int vdeStartupTab)
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: