Commit graph

5278 commits

Author SHA1 Message Date
Lukas Brübach
8a47412db2 Change deck analytics bars to be more meaningful by using the highest value instead of the total sum as the ceiling. 2025-04-10 07:49:51 +02:00
Lukas Brübach
ed0f09b7fd Lint. 2025-04-10 07:49:51 +02:00
Lukas Brübach
34287b0714 Implement separate comboBoxes for sorting and grouping. 2025-04-10 07:49:51 +02:00
Lukas Brübach
f66961e488 Hide groups which have no cards in them. 2025-04-10 07:49:51 +02:00
Lukas Brübach
7a6fd31776 Set banner buddies correctly. 2025-04-10 07:49:51 +02:00
Lukas Brübach
d60b613fd5 More performant display updating. 2025-04-10 07:49:51 +02:00
Lukas Brübach
268d3f2e6b Move new method to DeckListModel so we don't have to include CardDatabaseManager in common. 2025-04-10 07:49:51 +02:00
Lukas Brübach
7bb18c84c7 Parameter names. 2025-04-10 07:49:51 +02:00
Lukas Brübach
443f8717a3 New DeckList method to return cards as CardInfoPtrs
Saner update to prevent crashes.
2025-04-10 07:49:51 +02:00
Lukas Brübach
f994ffa02d Fix some weak warnings. 2025-04-10 07:49:51 +02:00
Lukas Brübach
0256c31411 Use some of the new generic conveniences in the visual deck editor 2025-04-10 07:49:51 +02:00
Lukas Brübach
768b957b54 Remove some overriden methods that are now generic enough to not necessitate being overriden anymore. 2025-04-10 07:49:51 +02:00
Lukas Brübach
fbd79f34f0 Qt > std 2025-04-10 07:49:51 +02:00
Lukas Brübach
c5adb383f7 Lint. 2025-04-10 07:49:51 +02:00
Lukas Brübach
fcbdefab4c Address some comments. 2025-04-10 07:49:51 +02:00
Lukas Brübach
6426f3c86c Slightly more sensible layout handling. 2025-04-10 07:49:51 +02:00
Lukas Brübach
f52903a94d Sensible deckListModel handling. 2025-04-10 07:49:51 +02:00
Lukas Brübach
57bbbec206 Fixup to support new generic format. 2025-04-10 07:49:51 +02:00
Lukas Brübach
27c065e0d5 Open in VDE from VDS by default, refresh on setDeck. 2025-04-10 07:49:51 +02:00
Lukas Brübach
1b65818cab Allow filters to be saved and restored. 2025-04-10 07:49:51 +02:00
Lukas Brübach
000f0c4b49 Add a name filter. 2025-04-10 07:49:51 +02:00
Lukas Brübach
6b154634e5 Add a sub type filter. 2025-04-10 07:49:51 +02:00
Lukas Brübach
7d76319faa Add a sample hand widget. 2025-04-10 07:49:51 +02:00
Lukas Brübach
7fb09cd149 Better filtering and analytics. 2025-04-10 07:49:51 +02:00
Lukas Brübach
a7b9a86feb Generify visual deck editor so it can have a printing selector. 2025-04-10 07:49:51 +02:00
Lukas Brübach
edd35182c0 Make VisualDeckEditor Tab play nicely with TabSupervisor, open in VDE by default from VDS. 2025-04-10 07:49:51 +02:00
Lukas Brübach
80259a34e7 Finally fix the freaking OverlapLayout. 2025-04-10 07:49:51 +02:00
Lukas Brübach
c10165dfbe Page loading for visual database display. 2025-04-10 07:49:51 +02:00
Lukas Brübach
238fb76501 Rebase changes. 2025-04-10 07:49:51 +02:00
Lukas Brübach
a627d77445 Infinite scrolling. 2025-04-10 07:49:51 +02:00
Lukas Brübach
0c73768c79 Visual Deck Editor. 2025-04-10 07:49:51 +02:00
BruebachL
13d18986b2
Set fixed width instead of maximum width for symbols. (#5821)
Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
2025-04-09 22:38:07 -04:00
BruebachL
6171658c0c
Add main and sub type as filter options, add helper functions to remove or get specific and all filters. (#5820)
Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
2025-04-09 22:37:52 -04:00
BruebachL
9b5f5595b0
Add modelDirty signal, add helper functions to gather all main and sub card types. (#5819)
Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
2025-04-09 22:21:02 -04:00
RickyRister
676ea0d5a7
Sort cockatrice sources alphabetically (#5818) 2025-04-09 22:20:55 -04:00
BruebachL
80b6d6a31f
Properly calculate a lot of things related to these layouts. (#5817)
Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
2025-04-09 12:09:04 -04:00
BruebachL
6661a5d946
Fix some display issues with settings button widget. (#5816)
Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
2025-04-09 12:08:59 -04:00
BruebachL
53e9a91dc6
Emit more signals when data is changed and add utility functions to interact with a decklist in the context of cardinfoptrs. (#5815)
Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
2025-04-09 12:08:54 -04:00
RickyRister
56bbd8a172
Refactor: move last token info into struct (#5808)
* add override

* refactor token info into struct

* correct default destroy value
2025-04-09 11:26:14 -04:00
BruebachL
0bd53d6dc7
Try to find the card again without providerId when searching fails during swap card. (#5814)
Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
2025-04-09 11:19:21 -04:00
BruebachL
61cb3d1d7c
Remove unnecessary parent argument from deck_editor_menu (#5813)
* Remove unnecessary parent argument.

* Correctly invoke new instance now.

---------

Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
2025-04-09 11:16:56 -04:00
BruebachL
e808d030db
Correctly size hint card_info_picture_widget, adjust scaleFactor default and correctly parent hover-to-zoom scaled picture. (#5812)
Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
2025-04-09 11:16:34 -04:00
RickyRister
4a68d9d3ea
Use QMessageBox::question for force start confirmation (#5811) 2025-04-08 10:24:05 +02:00
BruebachL
730305f4d2
Revert source file globbing (#5799)
* Revert "Add CONFIGURE_DEPENDS to the cmake (#5739)"

This reverts commit 57b9f0e54c.

* Revert "Automatically find all files for cockatrice_SOURCES (#5716)"

This reverts commit 4a0e0ed954.

---------

Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
2025-04-07 19:32:57 +00:00
RickyRister
d17523ff17
Add confirmation dialog for force start (#5797) 2025-04-06 12:39:08 +02:00
RickyRister
195116d1de
Bump to 2.11.0 for beta releases (#5796) 2025-04-06 12:27:11 +02:00
transifex-integration[bot]
92d7828a77
Translate webclient/src/i18n-default.json in it (#5790)
100% translated source file: 'webclient/src/i18n-default.json'
on 'it'.

Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
2025-04-05 13:31:46 +02:00
RickyRister
2a3b9a9a5e
Fix QImage::mirrored deprecation warning (#5792) 2025-04-05 12:21:11 +02:00
transifex-integration[bot]
0e7d7ffcb2
Translate oracle/oracle_en@source.ts in it (#5786)
100% translated source file: 'oracle/oracle_en@source.ts'
on 'it'.

Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
2025-04-04 03:40:14 +00:00
RickyRister
b1fca404b7
Bump to 2.10.2 for hotfix release (#5785) 2025-04-03 00:24:11 -04:00