mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-19 05:13:54 -07:00
Expand/shrink card view window on double click (#5652)
This commit is contained in:
parent
21e22ed5fb
commit
47311b1dfd
8 changed files with 116 additions and 8 deletions
|
|
@ -165,6 +165,7 @@ private:
|
|||
QString knownMissingFeatures;
|
||||
bool useTearOffMenus;
|
||||
int cardViewInitialRowsMax;
|
||||
int cardViewExpandedRowsMax;
|
||||
bool closeEmptyCardView;
|
||||
int pixmapCacheSize;
|
||||
int networkCacheSize;
|
||||
|
|
@ -642,6 +643,7 @@ public:
|
|||
void setKnownMissingFeatures(const QString &_knownMissingFeatures);
|
||||
void setUseTearOffMenus(bool _useTearOffMenus);
|
||||
void setCardViewInitialRowsMax(int _cardViewInitialRowsMax);
|
||||
void setCardViewExpandedRowsMax(int value);
|
||||
void setCloseEmptyCardView(QT_STATE_CHANGED_T value);
|
||||
QString getClientID()
|
||||
{
|
||||
|
|
@ -663,6 +665,10 @@ public:
|
|||
{
|
||||
return cardViewInitialRowsMax;
|
||||
}
|
||||
int getCardViewExpandedRowsMax() const
|
||||
{
|
||||
return cardViewExpandedRowsMax;
|
||||
}
|
||||
bool getCloseEmptyCardView() const
|
||||
{
|
||||
return closeEmptyCardView;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue