Expand/shrink card view window on double click (#5652)

This commit is contained in:
RickyRister 2025-02-25 15:32:45 -08:00 committed by GitHub
parent 21e22ed5fb
commit 47311b1dfd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 116 additions and 8 deletions

View file

@ -63,11 +63,12 @@ private slots:
void processGroupBy(int value);
void processSortBy(int value);
void processSetPileView(QT_STATE_CHANGED_T value);
void resizeToZoneContents();
void resizeToZoneContents(bool forceInitialHeight = false);
void handleScrollBarChange(int value);
void zoneDeleted();
void moveEvent(QGraphicsSceneMoveEvent * /* event */) override;
void resizeEvent(QGraphicsSceneResizeEvent * /* event */) override;
void expandWindow();
public:
ZoneViewWidget(Player *_player,
@ -90,6 +91,7 @@ public:
protected:
void closeEvent(QCloseEvent *event) override;
void initStyleOption(QStyleOption *option) const override;
void mouseDoubleClickEvent(QGraphicsSceneMouseEvent *event) override;
};
#endif