ebbit1q
69c046cca4
remove all separate storing of widget sizes, rely on geometry ( #6712 )
2026-03-16 23:38:47 +01:00
DawnFire42
aa4592dc9e
Add local game options ( #6669 )
...
* Add local game options dialog. Introduces LocalGameOptions struct and DlgLocalGameOptions dialog to replace the previous QInputDialog for starting local games. Encapsulates game configuration with a simple interface that prevents parameter explosion as options are added. The dialog provides UI with settings persistence via SettingsCache
* integrate local game options into main window. Replaces QInputDialog with DlgLocalGameOptions in actSinglePlayer(). The startLocalGame() function now accepts LocalGameOptions, enabling configuration of starting life total and spectator visibility in addition to player count. Also adds user documentation for the local game options flow.
* Removed superfluous documentation file
* removed spectator option and moved structure definition
* Now remember settings separately and & shortcuts removed
* re-run checks
2026-03-12 14:30:01 -07:00
RickyRister
15a1d5440b
[DeckEditor] Fix undo/redo resetting deck sorting ( #6673 )
2026-03-08 23:50:54 +01:00
RickyRister
dead993639
[DeckList] Refactor load from plaintext to take normalizer as param ( #6664 )
...
* [DeckList] Refactor load from plaintext to take normalizer as param
* update usages
* weaken unit test
* weaken unit test more
* revert unit test
* move CardNameNormalizer to libcockatrice_card
* update unit test
* formatting
2026-03-06 10:39:04 -08:00
DawnFire42
bd5cbb89d4
refactor: extract CARD_HEIGHT to shared CardDimensions header ( #6668 )
...
* refactor: extract CARD_HEIGHT to shared CardDimensions header
Move duplicated CARD_WIDTH/CARD_HEIGHT constants to card_dimensions.h.
Fixed documentation in z_value_layer_manager.h.
* WIDTH_F used directly instead of casting
* Improved consistency and added missing newlines at end of files
2026-03-05 19:13:58 -08:00
ebbit1q
e39bbd2b31
take default theme name from startup instead of using empty ( #6663 )
2026-03-06 00:19:10 +01:00
ebbit1q
b36ab66583
nullcheck printing's set in home tab background art crop ( #6646 )
...
* nullcheck printing's set in home tab background art crop
* set warning and properly set timer
* fix merge
2026-03-04 00:49:50 +01:00
ebbit1q
566c876bdc
fix scaling for background images on home tab ( #6656 )
2026-03-04 00:16:45 +01:00
ebbit1q
43acac5f5d
empty card info when switching back to theme background ( #6657 )
2026-03-04 00:16:19 +01:00
ebbit1q
e57ee8e9c9
fix set sorting ( #6630 )
2026-03-02 23:06:05 +01:00
RickyRister
2cb16c9fd0
[CardDatabaseDisplay] Reduce width by using icons ( #6603 )
...
* [CardDatabaseDisplay] Reduce width by using icons
* use public domain filter svg icon
2026-02-22 20:54:58 -08:00
RickyRister
a90997353b
[TabGame] Fix concede removing player without waiting for server ( #6622 )
2026-02-23 01:33:08 +01:00
RickyRister
0f2899b5c7
[DeckEditor] Alternate row colors in history list ( #6626 )
2026-02-22 22:11:10 +01:00
RickyRister
5c3c3bfdba
[ChatView] Fix extra blank line at beginning ( #6613 )
2026-02-21 15:36:35 +01:00
RickyRister
189f3a7bbc
[ChatView] Fix game log first line incorrect background color ( #6612 )
2026-02-21 04:40:47 -08:00
RickyRister
a7bb5254a3
[VDE] Fix Qt warnings in log ( #6605 )
...
* [VDE] Fix Qt warnings in log
* fix button size
2026-02-19 08:32:56 +01:00
RickyRister
88d0ebb12d
[TabDeckEditor] Fix printingSelector dock close button not working ( #6604 )
2026-02-19 00:50:11 +01:00
RickyRister
bdb42bbbbd
[VDE] Separate layout settings for visual deck editor ( #6595 )
2026-02-08 13:37:56 -08:00
RickyRister
ac7ff3a0e9
[LayoutSettings] Refactor how widgetSize settings are managed ( #6594 )
2026-02-08 05:07:53 -08:00
RickyRister
1eb6027443
clean up freeDocksSize in tabs with dockWidgets ( #6593 )
2026-02-08 05:07:40 -08:00
RickyRister
edc8691731
[LayoutSettings] Don't return by const value ( #6592 )
...
* [LayoutSettings] Don't return by const value
* fix compile failure
2026-02-07 20:42:23 -08:00
RickyRister
804a60f1ea
[LayoutSettings] Move over layout settings in global.ini ( #6587 )
...
* [LayoutSettings] Move over some settings from general
* remove unused setting
2026-02-07 19:51:12 -08:00
RickyRister
a096a0e3bb
[VDE] Reduce spacing in deck view toolbar ( #6591 )
2026-02-07 21:43:41 -05:00
BruebachL
d410078673
Refresh chat view colors on theme changed. ( #6581 )
...
Took 35 minutes
Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
2026-01-28 21:54:11 +01:00
RickyRister
c7249dfbd9
[PrintingSelector] Don't change font size ( #6573 )
...
* [PrintingSelector] Don't change font size
* remove connection to slider
* update comments
2026-01-28 09:39:54 -08:00
RickyRister
1b29e0bfa8
[PrintingSelector] Reduce spacing ( #6574 )
...
* [PrintingSelector] Reduce spacing
* align top
* reduce spacing in flowLayout
2026-01-27 20:50:46 -05:00
RickyRister
5cc5767c87
[CardInfoPictureWidget] Refactor constant fields to static const ( #6575 )
...
* [CardInfoPictureWidget] Refactor constant fields to static const
* rename constants
* reformat
* comment out unused
2026-01-27 20:50:19 -05:00
RickyRister
165c4ddd2a
[PrintingSelector] Properly clamp text size to picture on load ( #6576 )
2026-01-27 20:49:54 -05:00
BruebachL
630c71f123
[VDE] Insert at correct index onDataChanged() instead of just appending. ( #6556 )
...
Took 25 minutes
Took 3 seconds
Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
2026-01-25 16:06:06 -05:00
ebbit1q
0b4e7be596
followup to #6563 ( #6569 )
...
* mess with the font rendering of the home screen until it works
* add more fonts
* increase font weight
* fix outline on the text
2026-01-25 16:05:53 -05:00
RickyRister
c02cf5e89e
[VDE] Fix crash from alt-click when card has unknown set ( #6566 )
2026-01-25 01:36:10 -08:00
ebbit1q
92f02fa4ee
mess with the font rendering of the home screen until it works ( #6563 )
...
* mess with the font rendering of the home screen until it works
* add more fonts
2026-01-25 01:37:19 -05:00
BruebachL
ffc55aff10
[VDE] Add shortcut to increment cards [Alt + LMB] ( #6555 )
...
Took 13 minutes
Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
2026-01-24 11:28:06 +01:00
BruebachL
12b5525a2d
[TabArchidekt] Cleaner filters, infinite scrolling, and a "go back button" ( #6545 )
...
* [TabArchidekt] Cleaner filters, infinite scrolling, and a "go back button"
Took 46 minutes
Took 5 seconds
* Fix infinite scroll triggering in detail view.
Took 25 minutes
Took 3 seconds
* Use setLabelText() so it's white
Took 2 minutes
---------
Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
2026-01-24 11:21:12 +01:00
RickyRister
3c48d92663
[DeckEditor] Show info in PrintingSelector dock when override printings enabled ( #6554 )
...
* don't hide printing selector dock
* extract warning message to separate file
* create printing disabled info widget
2026-01-24 02:20:16 -08:00
BruebachL
948ec9e042
[VDE] Accurately represent card amounts ( #6547 )
2026-01-23 08:47:08 -05:00
RickyRister
d363ec5154
[VDS] Fix crash when tab is opened before card database is loaded ( #6553 )
2026-01-23 09:58:46 +01:00
RickyRister
999733fc0f
[VDE] Fix right click to remove card not working ( #6549 )
...
* fix typo
* fix crash
2026-01-23 09:18:05 +01:00
RickyRister
39ddaa0c35
[VDS] Reload deck on hover if file has been modified since last load ( #6507 )
...
* add reload to DeckLoader
* [VDS] Reload deck on hover if file has been modified since last load
* fix version incompatibility
2026-01-22 23:31:39 -05:00
RickyRister
d9b9c79112
[VDS] Add option to hide color identity ( #6533 )
2026-01-19 00:38:48 -08:00
RickyRister
af2995ba96
[VDS] Ignore tokens when calculating color identity ( #6532 )
2026-01-18 20:51:57 -05:00
BruebachL
f7ffcc58fe
[Sample hand widget] Create container widget before declaring it as parent ( #6530 )
2026-01-17 12:18:13 -05:00
RickyRister
792f077071
[VDE] Use splitter in sample hand widget ( #6528 )
...
* [VDE] Use splitter in sample hand widget
* remove unused code
2026-01-16 17:23:41 -08:00
RickyRister
9c07c7a963
[TabGame] Automatically sync view menu actions ( #6529 )
2026-01-16 17:22:48 -08:00
RickyRister
d579c82cb9
[DeckLoader] Make save/load methods static ( #6476 )
...
* const
* [DeckLoader] make methods static
* use static methods
* add docs
* add docs
2026-01-16 13:20:36 -05:00
RickyRister
c7c7bf550a
[TabGame] Don't create replay dock if not replay tab ( #6527 )
...
* [TabGame] Don't create replay dock if not replay tab
* use replayDock to determine if replay tab
* null check replayManager in dtor
2026-01-16 09:45:10 -08:00
RickyRister
84483c56d7
[TabDeckEditor] Generalize visibility filter and extract it to a separate file ( #6526 )
...
* create class
* use new class in old code
2026-01-16 10:12:46 -05:00
RickyRister
1b71519ec6
[VDE] Make sample hand widget look nicer ( #6525 )
2026-01-16 10:11:39 -05:00
RickyRister
154b9ace92
[TabDeckEditor] Move cardDatabase dock action to top of menu ( #6523 )
2026-01-16 10:10:36 -05:00
RickyRister
93f0715d02
[TabDeckEditor] Save cardDatabase dock size in settings ( #6524 )
2026-01-15 21:54:50 -05:00