![]() |
Cockatrice 2026-10-19-Development-3.1.2-beta.2
A virtual tabletop for multiplayer card games
|
#include <visual_deck_storage_quick_settings_widget.h>
Public Types | |
| enum | TooltipType { None , Filepath } |
Signals | |
| void | showFoldersChanged (bool enabled) |
| void | drawUnusedColorIdentitiesChanged (bool enabled) |
| void | showColorIdentityChanged (bool enabled) |
| void | showBannerCardComboBoxChanged (bool enabled) |
| void | showTagFilterChanged (bool enabled) |
| void | showTagsOnDeckPreviewsChanged (bool enabled) |
| void | showUploadTimeChanged (bool enabled) |
| void | unusedColorIdentitiesOpacityChanged (int opacity) |
| void | deckPreviewTooltipChanged (TooltipType tooltip) |
| void | cardSizeChanged (int scale) |
Public Member Functions | |
| VisualDeckStorageQuickSettingsWidget (QWidget *parent=nullptr) | |
| void | setPublicDecksMode (bool enabled) |
| Hides the controls that do not apply to the public decks tab. | |
| void | retranslateUi () |
| bool | getShowFolders () const |
| bool | getDrawUnusedColorIdentities () const |
| bool | getShowColorIdentity () const |
| bool | getShowBannerCardComboBox () const |
| bool | getShowTagFilter () const |
| bool | getShowTagsOnDeckPreviews () const |
| bool | getShowUploadTime () const |
| int | getUnusedColorIdentitiesOpacity () const |
| TooltipType | getDeckPreviewTooltip () const |
| int | getCardSize () const |
| CardSizeWidget * | getCardSizeWidget () const |
| Public Member Functions inherited from SettingsButtonWidget | |
| SettingsButtonWidget (QWidget *parent=nullptr) | |
| ~SettingsButtonWidget () override | |
| void | addSettingsWidget (QWidget *toAdd) const |
| void | removeSettingsWidget (QWidget *toRemove) const |
| void | setButtonIcon (QPixmap iconMap) |
| void | setButtonText (const QString &buttonText) |
| void | setCompact (bool compact) |
| bool | isCompact () const |
Private Attributes | |
| QCheckBox * | showFoldersCheckBox |
| QCheckBox * | showColorIdentityCheckBox |
| QCheckBox * | drawUnusedColorIdentitiesCheckBox |
| QCheckBox * | showBannerCardComboBoxCheckBox |
| QCheckBox * | showTagFilterCheckBox |
| QCheckBox * | showTagsOnDeckPreviewsCheckBox |
| QCheckBox * | showUploadTimeCheckBox |
| QLabel * | unusedColorIdentitiesOpacityLabel |
| QSpinBox * | unusedColorIdentitiesOpacitySpinBox |
| QLabel * | deckPreviewTooltipLabel |
| QComboBox * | deckPreviewTooltipComboBox |
| QWidget * | deckPreviewTooltipWidget |
| CardSizeWidget * | cardSizeWidget |
Additional Inherited Members | |
| Public Attributes inherited from SettingsButtonWidget | |
| SettingsPopupWidget * | popup |
| Protected Member Functions inherited from SettingsButtonWidget | |
| void | mousePressEvent (QMouseEvent *event) override |
|
explicit |
|
signal |
|
signal |
|
signal |
|
nodiscard |
|
inlinenodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
| void VisualDeckStorageQuickSettingsWidget::retranslateUi | ( | ) |
| void VisualDeckStorageQuickSettingsWidget::setPublicDecksMode | ( | bool | enabled | ) |
Hides the controls that do not apply to the public decks tab.
The public decks tab reuses this widget for its quick settings menu but has no folders, banner selection or per-deck tooltip, so those controls are hidden while every shared key keeps syncing with SettingsCache.
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |