Add setting to hide visual deck storage in game lobby (#5570)

This commit is contained in:
RickyRister 2025-02-06 05:44:33 -08:00 committed by GitHub
parent 1ee0e87ba7
commit d951b082c4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 56 additions and 5 deletions

View file

@ -109,7 +109,6 @@ private:
DeckList *deck;
QMap<QString, DeckViewCardContainer *> cardContainers;
qreal optimalAspectRatio;
void clearContents();
void rebuildTree();
public:
@ -123,6 +122,7 @@ public:
{
return locked;
}
void clearContents();
void setDeck(const DeckList &_deck);
void setOptimalAspectRatio(qreal _optimalAspectRatio)
{
@ -152,6 +152,7 @@ signals:
public:
explicit DeckView(QWidget *parent = nullptr);
void setDeck(const DeckList &_deck);
void clearDeck();
void setLocked(bool _locked)
{
deckViewScene->setLocked(_locked);