ZeldaZach
3f210a9b5d
Minor
2024-12-18 21:24:53 -05:00
ZeldaZach
d66d0b108b
Cleanup Lints
2024-12-18 21:16:43 -05:00
ZeldaZach
9dd2dd4929
Cleanup from Reading
2024-12-18 21:13:23 -05:00
Lukas Brübach
9f493b2070
Don't use timers, Qt provides ShowEvent for anything necessary before the widget is shown.
2024-12-18 02:33:45 +01:00
Lukas Brübach
1606676009
Proper Qt slot for checkboxes.
2024-12-17 01:29:58 +01:00
Lukas Brübach
f2b15def3d
Brief accidentally nuked some constants.
2024-12-17 01:22:43 +01:00
Lukas Brübach
88043b965f
Lint the things.
2024-12-17 01:17:40 +01:00
Lukas Brübach
6dd14a8832
Comment ALL the things.
2024-12-17 01:15:01 +01:00
Lukas Brübach
03b2253541
Make the view display options functional.
2024-12-16 19:03:23 -05:00
ZeldaZach
5a416ce6e6
updateCardCount to get white color in initializer
2024-12-16 19:03:23 -05:00
Lukas Brübach
1640262e8d
Good Lint Inc.
2024-12-16 19:03:23 -05:00
Lukas Brübach
61b33aa808
Persist card size slider selection in SettingsCache.
2024-12-16 19:03:23 -05:00
Lukas Brübach
2d59540f15
Boop the mainboard/sideboard label and the cardCount after a little bit of delay to make sure they initialize at the right size.
2024-12-16 19:03:23 -05:00
Lukas Brübach
21e4aa8021
Clean up debug statements.
2024-12-16 19:03:22 -05:00
Lukas Brübach
4c4cfeff12
Negative currentSize means we don't render the widget yet, return a default value.
2024-12-16 19:03:22 -05:00
Lukas Brübach
b5b919b738
Style buttons again.
2024-12-16 19:03:22 -05:00
Lukas Brübach
f674d601ab
Adjust another deckModel->findCard call to include number parameter.
2024-12-16 19:03:22 -05:00
Lukas Brübach
938dca303c
Label texts are supposed to be white.
2024-12-16 19:03:21 -05:00
Lukas Brübach
ea9b336a6b
Initialize button sizes correctly.
2024-12-16 19:03:21 -05:00
Lukas Brübach
f4904e7c7e
Update mainboard/sideboard labels correctly.
2024-12-16 19:03:21 -05:00
Lukas Brübach
f3a7be7e3f
Try to wrangle font sizes.
2024-12-16 19:03:21 -05:00
Lukas Brübach
1b1b31a2c2
Relabel buttons for clarity.
2024-12-16 19:03:20 -05:00
Lukas Brübach
7bc34619c1
Remember how many cards were originally in deck when replacing with uuid version.
2024-12-16 19:03:20 -05:00
Lukas Brübach
7f22d48a5e
Lint.
2024-12-16 19:03:20 -05:00
Lukas Brübach
3059637838
Persist sort options and change default to 'preference'.
2024-12-16 19:03:20 -05:00
Lukas Brübach
af75cfcd89
Pivot to a view options toolbar.
2024-12-16 19:03:20 -05:00
Lukas Brübach
d05185327a
Clean up some imports.
2024-12-16 19:03:19 -05:00
Lukas Brübach
ba73cda339
Adjust font size when adjusting card size.
2024-12-16 19:03:19 -05:00
ZeldaZach
4a75eac3d3
Minor cleanup
2024-12-16 19:03:19 -05:00
Lukas Brübach
322d61e7ef
Move the search bar to its own widget.
2024-12-16 19:03:18 -05:00
Lukas Brübach
060e8f0cfd
Move the sorting options to their own widget.
2024-12-16 19:03:18 -05:00
ZeldaZach
2a7befaa9d
Crash fix
2024-12-16 19:03:18 -05:00
ZeldaZach
c6f1253476
Linter
2024-12-16 19:03:18 -05:00
Lukas Brübach
44bbf26b4b
Move the card size slider to its own widget.
2024-12-16 19:03:18 -05:00
Lukas Brübach
9d0d62a72d
Move the "Next/Previous" card buttons to their own widget.
2024-12-16 19:03:17 -05:00
Lukas Brübach
059c23f8f4
Set the index correctly when removing a non-providerId printing for a providerId printing to avoid jumping to the next card.
2024-12-16 19:03:17 -05:00
Lukas Brübach
7a136178e0
Flip preference sort so descending means "Most to least preferred".
2024-12-16 19:03:17 -05:00
Lukas Brübach
70c2bd6377
Fix cards without providerIds being counted for all cards.
2024-12-16 19:03:17 -05:00
Lukas Brübach
e17d8b40fd
Linter behave.
2024-12-16 19:03:16 -05:00
Lukas Brübach
34bec790c7
Add option to disable bumping sets to the front of the list if the deck contains cards from the set.
2024-12-16 19:03:16 -05:00
Lukas Brübach
3195a5ab68
Update PrintingSelector properly on DeckListModel::dataChanged
2024-12-16 19:03:16 -05:00
Lukas Brübach
279aa8c836
Don't hide PrintingSelector button widgets if the deck contains a card from the set.
2024-12-16 19:03:16 -05:00
Zach Halpern
7fff7cfee9
Fix Qt5 Builds
2024-12-16 19:03:15 -05:00
Zach Halpern
aa9dd24eda
Fix Qt5 Builds
2024-12-16 19:03:15 -05:00
Zach Halpern
08e0d6068f
Fix Qt5 Builds
2024-12-16 19:03:15 -05:00
Zach Halpern
9597392da5
Fix Qt5 Builds
2024-12-16 19:03:15 -05:00
Zach Halpern
f856bc30c5
Fix Qt5 Builds
2024-12-16 19:03:15 -05:00
Lukas Brübach
37201ccc85
Show related cards from printing selector by right-clicking card image.
2024-12-16 19:03:14 -05:00
Lukas Brübach
b07fecb370
Add ability to force preferred set art to be loaded for every card.
2024-12-16 19:03:14 -05:00
Lukas Brübach
f12259500e
Resize setName to picture width on initialization.
...
Also add a new signal to card_info_picture_widget to emit when the scale factor changes.
Hook this up to the setName resizing method to ensure card size updates trigger it appropriately after initialization.
Clean up unused enter and resize methods that just delegated to base-class.
2024-12-16 19:03:13 -05:00