Cockatrice/cockatrice/src/client
DawnFire42 fc453c68a7
Add card selection counter (#6685)
* feat(game): add drag selection counter overlay
   Display count of selected cards inside the lasso during drag selection.
   Count appears near cursor, repositioning to stay within selection bounds.

   Includes SelectionRubberBand subclass to allow label to appear above band.
   QRubberBand calls raise() in showEvent/changeEvent to stay on top - this
   subclass suppresses that behavior so dragCountLabel can be visible.

   Adds user setting to enable/disable the drag count overlay.

* feat(game): add persistent selection counter overlay.
Display total count of selected cards in bottom-right corner when multiple cards are selected.
Updates on selection changes and window resize.
The counter connects to QGraphicsScene::selectionChanged to stay up-to-date without requiring manual refresh.
Adds user setting to enable/disable the total count overlay.

---------

Co-authored-by: RickyRister <42636155+RickyRister@users.noreply.github.com>
2026-03-16 23:44:29 +01:00
..
network [DeckList] Refactor load from plaintext to take normalizer as param (#6664) 2026-03-06 10:39:04 -08:00
settings Add card selection counter (#6685) 2026-03-16 23:44:29 +01:00
sound_engine.cpp Clean up inter-library dependencies with interfaces (#6280) 2025-11-08 22:19:40 +01:00
sound_engine.h [Documentation] Sort *every* file into a doxygen group. (#6198) 2025-09-30 12:13:32 +02:00
translation.h Major Directory Refactoring (#5118) 2024-10-20 10:11:35 -04:00