![]() |
Cockatrice 2026-09-01-Development-3.1.0-beta.10
A virtual tabletop for multiplayer card games
|
#include <interface_settings.h>
Signals | |
| void | useTearOffMenusChanged (bool state) |
| void | keepGameChatFocusChanged (bool value) |
| void | horizontalHandChanged () |
| void | invertVerticalCoordinateChanged () |
| void | minPlayersForMultiColumnLayoutChanged () |
| void | handJustificationChanged () |
| void | tallyTypeChanged (int type) |
| void | showStatusBarChanged (bool state) |
| void | showGameSelectorFilterToolbarChanged (bool state) |
| void | playmatVisibilityChanged (int visibility) |
| void | playmatSettingsChanged () |
| void | lifeCounterAnimationsEnabledChanged (bool state) |
| void | battlefieldFlashEnabledChanged (bool state) |
Public Member Functions | |
| bool | getUseTearOffMenus () const override |
| int | getCardViewInitialRowsMax () const override |
| int | getCardViewExpandedRowsMax () const override |
| bool | getCloseEmptyCardView () const override |
| bool | getFocusCardViewSearchBar () const override |
| bool | getKeepGameChatFocus () const override |
| bool | getNotificationsEnabled () const override |
| bool | getSpectatorNotificationsEnabled () const override |
| bool | getBuddyConnectNotificationsEnabled () const override |
| bool | getDoubleClickToPlay () const override |
| bool | getClickPlaysAllSelected () const override |
| bool | getPlayToStack () const override |
| bool | getDoNotDeleteArrowsInSubPhases () const override |
| int | getStartingHandSize () const override |
| bool | getAnnotateTokens () const override |
| bool | getShowDragSelectionCount () const override |
| bool | getShowTotalSelectionCount () const override |
| int | getTallyType () const override |
| bool | getHorizontalHand () const override |
| bool | getInvertVerticalCoordinate () const override |
| int | getMinPlayersForMultiColumnLayout () const override |
| int | getRewindBufferingMs () const override |
| qreal | getFastForwardSpeed () const override |
| bool | getSkipEmptySections () const override |
| bool | getLeftJustified () const override |
| int | getZoneViewGroupByIndex () const override |
| int | getZoneViewSortByIndex () const override |
| bool | getZoneViewPileView () const override |
| bool | getShowStatusBar () const override |
| bool | getShowShortcuts () const override |
| bool | getShowGameSelectorFilterToolbar () const override |
| int | getPlaymatVisibility () const override |
| Who gets playmats rendered: PlaymatVisibility. | |
| QList< PlaymatInfo > | getPlaymatFallbackList () const override |
| User-level playmat collection. Used either as a forced playmat (mode == PlaymatModeOverrideDeck) or as a fallback when a deck has none (mode == PlaymatModeFallback). | |
| int | getPlaymatMode () const override |
| How the fallback list is applied: PlaymatMode. | |
| int | getPlaymatFallbackBehavior () const override |
| How the fallback list is picked from when mode is PlaymatModeFallback: PlaymatFallbackMode. | |
| bool | getLifeCounterAnimationsEnabled () const override |
| bool | getBattlefieldFlashEnabled () const override |
| QStringList | getUserListExpandedSections () const override |
| void | setUseTearOffMenus (bool _useTearOffMenus) |
| void | setCardViewInitialRowsMax (int _cardViewInitialRowsMax) |
| void | setCardViewExpandedRowsMax (int value) |
| void | setCloseEmptyCardView (bool value) |
| void | setFocusCardViewSearchBar (bool value) |
| void | setKeepGameChatFocus (bool value) |
| void | setNotificationsEnabled (bool _notificationsEnabled) |
| void | setSpectatorNotificationsEnabled (bool _spectatorNotificationsEnabled) |
| void | setBuddyConnectNotificationsEnabled (bool _buddyConnectNotificationsEnabled) |
| void | setDoubleClickToPlay (bool _doubleClickToPlay) |
| void | setClickPlaysAllSelected (bool _clickPlaysAllSelected) |
| void | setPlayToStack (bool _playToStack) |
| void | setDoNotDeleteArrowsInSubPhases (bool _doNotDeleteArrowsInSubPhases) |
| void | setStartingHandSize (int _startingHandSize) |
| void | setAnnotateTokens (bool _annotateTokens) |
| void | setShowDragSelectionCount (bool _showDragSelectionCount) |
| void | setShowTotalSelectionCount (bool _showTotalSelectionCount) |
| void | setTallyType (int value) |
| void | setHorizontalHand (bool _horizontalHand) |
| void | setInvertVerticalCoordinate (bool _invertVerticalCoordinate) |
| void | setMinPlayersForMultiColumnLayout (int _minPlayersForMultiColumnLayout) |
| void | setRewindBufferingMs (int _rewindBufferingMs) |
| void | setFastForwardSpeed (qreal _value) |
| void | setSkipEmptySections (bool _value) |
| void | setLeftJustified (bool _leftJustified) |
| void | setZoneViewGroupByIndex (int _zoneViewGroupByIndex) |
| void | setZoneViewSortByIndex (int _zoneViewSortByIndex) |
| void | setZoneViewPileView (bool _zoneViewPileView) |
| void | setShowStatusBar (bool _showStatusBar) |
| void | setShowShortcuts (bool _showShortcuts) |
| void | setShowGameSelectorFilterToolbar (bool _showGameSelectorFilterToolbar) |
| void | setPlaymatVisibility (int _visibility) |
| void | setPlaymatFallbackList (const QList< PlaymatInfo > &_fallbackList) |
| void | setPlaymatMode (int _mode) |
| void | setPlaymatFallbackBehavior (int _behavior) |
| void | setLifeCounterAnimationsEnabled (bool _lifeCounterAnimationsEnabled) |
| void | setBattlefieldFlashEnabled (bool _battlefieldFlashEnabled) |
| void | setUserListExpandedSections (const QStringList §ions) |
| InterfaceSettings (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 IInterfaceSettingsProvider | |
| virtual | ~IInterfaceSettingsProvider ()=default |
Private Member Functions | |
| InterfaceSettings (const InterfaceSettings &) | |
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 |
|
explicit |
|
private |
|
signal |
|
nodiscardoverridevirtual |
Implements IInterfaceSettingsProvider.
|
nodiscardoverridevirtual |
|
nodiscardoverridevirtual |
|
nodiscardoverridevirtual |
|
nodiscardoverridevirtual |
|
nodiscardoverridevirtual |
|
nodiscardoverridevirtual |
|
nodiscardoverridevirtual |
|
nodiscardoverridevirtual |
Implements IInterfaceSettingsProvider.
|
nodiscardoverridevirtual |
Implements IInterfaceSettingsProvider.
|
nodiscardoverridevirtual |
|
nodiscardoverridevirtual |
Implements IInterfaceSettingsProvider.
|
nodiscardoverridevirtual |
Implements IInterfaceSettingsProvider.
|
nodiscardoverridevirtual |
|
nodiscardoverridevirtual |
Implements IInterfaceSettingsProvider.
|
nodiscardoverridevirtual |
|
nodiscardoverridevirtual |
Implements IInterfaceSettingsProvider.
|
nodiscardoverridevirtual |
Implements IInterfaceSettingsProvider.
|
nodiscardoverridevirtual |
How the fallback list is picked from when mode is PlaymatModeFallback: PlaymatFallbackMode.
Implements IInterfaceSettingsProvider.
|
nodiscardoverridevirtual |
User-level playmat collection. Used either as a forced playmat (mode == PlaymatModeOverrideDeck) or as a fallback when a deck has none (mode == PlaymatModeFallback).
Implements IInterfaceSettingsProvider.
|
nodiscardoverridevirtual |
How the fallback list is applied: PlaymatMode.
Implements IInterfaceSettingsProvider.
|
nodiscardoverridevirtual |
Who gets playmats rendered: PlaymatVisibility.
Implements IInterfaceSettingsProvider.
|
nodiscardoverridevirtual |
Implements IInterfaceSettingsProvider.
|
nodiscardoverridevirtual |
|
nodiscardoverridevirtual |
|
nodiscardoverridevirtual |
Implements IInterfaceSettingsProvider.
|
nodiscardoverridevirtual |
Implements IInterfaceSettingsProvider.
|
nodiscardoverridevirtual |
|
nodiscardoverridevirtual |
|
nodiscardoverridevirtual |
|
nodiscardoverridevirtual |
Implements IInterfaceSettingsProvider.
|
nodiscardoverridevirtual |
Implements IInterfaceSettingsProvider.
|
nodiscardoverridevirtual |
Implements IInterfaceSettingsProvider.
|
nodiscardoverridevirtual |
Implements IInterfaceSettingsProvider.
|
nodiscardoverridevirtual |
|
nodiscardoverridevirtual |
|
nodiscardoverridevirtual |
|
nodiscardoverridevirtual |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
| void InterfaceSettings::setAnnotateTokens | ( | bool | _annotateTokens | ) |
| void InterfaceSettings::setBattlefieldFlashEnabled | ( | bool | _battlefieldFlashEnabled | ) |
| void InterfaceSettings::setBuddyConnectNotificationsEnabled | ( | bool | _buddyConnectNotificationsEnabled | ) |
| void InterfaceSettings::setCardViewExpandedRowsMax | ( | int | value | ) |
| void InterfaceSettings::setCardViewInitialRowsMax | ( | int | _cardViewInitialRowsMax | ) |
| void InterfaceSettings::setClickPlaysAllSelected | ( | bool | _clickPlaysAllSelected | ) |
| void InterfaceSettings::setCloseEmptyCardView | ( | bool | value | ) |
| void InterfaceSettings::setDoNotDeleteArrowsInSubPhases | ( | bool | _doNotDeleteArrowsInSubPhases | ) |
| void InterfaceSettings::setDoubleClickToPlay | ( | bool | _doubleClickToPlay | ) |
| void InterfaceSettings::setFastForwardSpeed | ( | qreal | _value | ) |
| void InterfaceSettings::setFocusCardViewSearchBar | ( | bool | value | ) |
| void InterfaceSettings::setHorizontalHand | ( | bool | _horizontalHand | ) |
| void InterfaceSettings::setInvertVerticalCoordinate | ( | bool | _invertVerticalCoordinate | ) |
| void InterfaceSettings::setKeepGameChatFocus | ( | bool | value | ) |
| void InterfaceSettings::setLeftJustified | ( | bool | _leftJustified | ) |
| void InterfaceSettings::setLifeCounterAnimationsEnabled | ( | bool | _lifeCounterAnimationsEnabled | ) |
| void InterfaceSettings::setMinPlayersForMultiColumnLayout | ( | int | _minPlayersForMultiColumnLayout | ) |
| void InterfaceSettings::setNotificationsEnabled | ( | bool | _notificationsEnabled | ) |
| void InterfaceSettings::setPlaymatFallbackBehavior | ( | int | _behavior | ) |
| void InterfaceSettings::setPlaymatFallbackList | ( | const QList< PlaymatInfo > & | _fallbackList | ) |
| void InterfaceSettings::setPlaymatMode | ( | int | _mode | ) |
| void InterfaceSettings::setPlaymatVisibility | ( | int | _visibility | ) |
| void InterfaceSettings::setPlayToStack | ( | bool | _playToStack | ) |
| void InterfaceSettings::setRewindBufferingMs | ( | int | _rewindBufferingMs | ) |
| void InterfaceSettings::setShowDragSelectionCount | ( | bool | _showDragSelectionCount | ) |
| void InterfaceSettings::setShowGameSelectorFilterToolbar | ( | bool | _showGameSelectorFilterToolbar | ) |
| void InterfaceSettings::setShowShortcuts | ( | bool | _showShortcuts | ) |
| void InterfaceSettings::setShowStatusBar | ( | bool | _showStatusBar | ) |
| void InterfaceSettings::setShowTotalSelectionCount | ( | bool | _showTotalSelectionCount | ) |
| void InterfaceSettings::setSkipEmptySections | ( | bool | _value | ) |
| void InterfaceSettings::setSpectatorNotificationsEnabled | ( | bool | _spectatorNotificationsEnabled | ) |
| void InterfaceSettings::setStartingHandSize | ( | int | _startingHandSize | ) |
| void InterfaceSettings::setTallyType | ( | int | value | ) |
| void InterfaceSettings::setUserListExpandedSections | ( | const QStringList & | sections | ) |
| void InterfaceSettings::setUseTearOffMenus | ( | bool | _useTearOffMenus | ) |
| void InterfaceSettings::setZoneViewGroupByIndex | ( | int | _zoneViewGroupByIndex | ) |
| void InterfaceSettings::setZoneViewPileView | ( | bool | _zoneViewPileView | ) |
| void InterfaceSettings::setZoneViewSortByIndex | ( | int | _zoneViewSortByIndex | ) |
|
signal |
|
signal |
|
signal |
|
signal |
|
friend |