Commit graph

4975 commits

Author SHA1 Message Date
Lukas Brübach
1236969642 Update banner card combo box correctly. 2025-01-03 14:49:15 +01:00
Lukas Brübach
fa6f3e50bf Add a setting to remember last used sorting order for visual deck storage widget. 2025-01-03 14:30:01 +01:00
Lukas Brübach
6423fbcdb1 Correct tab text. 2025-01-03 14:17:16 +01:00
Lukas Brübach
4e9726e494 Override virtual functions. 2025-01-03 14:16:35 +01:00
Lukas Brübach
b2674c9767 Fix the close button not working on the tab, add an option to launch the visual deck storage tab to Cockatrice menu. 2025-01-03 14:07:41 +01:00
Lukas Brübach
8a95617688 Add an option to show the visual deck storage on database load. 2025-01-03 14:07:41 +01:00
Lukas Brübach
94a6e846a2 Adjust font size dynamically. 2025-01-03 14:07:41 +01:00
Lukas Brübach
bc0b4eff88 Include MouseEvent 2025-01-03 14:07:41 +01:00
Lukas Brübach
daad2c48f2 Specify overload. 2025-01-03 14:07:41 +01:00
Lukas Brübach
50f7916f9c Change set to list conversion. 2025-01-03 14:07:41 +01:00
Lukas Brübach
1d093d62b5 Non-lambda. 2025-01-03 14:07:41 +01:00
Lukas Brübach
ac3a128c85 Member variable. 2025-01-03 14:07:41 +01:00
Lukas Brübach
e2efb6e9a8 Member variable. 2025-01-03 14:07:41 +01:00
Lukas Brübach
ae636986ae No need to QDebug. 2025-01-03 14:07:41 +01:00
Lukas Brübach
c3bd973468 No need to QDebug. 2025-01-03 14:07:41 +01:00
Lukas Brübach
51fb6fe4f5 Fix settings mocks. 2025-01-03 14:07:41 +01:00
Lukas Brübach
b94519814c Lint. 2025-01-03 14:07:41 +01:00
Lukas Brübach
d7590e54fd Lint. 2025-01-03 14:07:41 +01:00
Lukas Brübach
b26005a0c4 Lint. 2025-01-03 14:07:41 +01:00
Lukas Brübach
b6a96089ec Add a card size slider. 2025-01-03 14:07:41 +01:00
Lukas Brübach
cee2de45d5 Add a search bar. 2025-01-03 14:07:41 +01:00
Lukas Brübach
3dab095356 Fix unload deck not working by showing/hiding widgets instead of adding/removing to layout. 2025-01-03 14:07:41 +01:00
Lukas Brübach
e92518976f Don't open decks twice in the storage tab. 2025-01-03 14:07:41 +01:00
Lukas Brübach
8753de22f6 Lint. 2025-01-03 14:07:41 +01:00
Lukas Brübach
c5ef13e8c3 Flip last modified comparison. 2025-01-03 14:07:41 +01:00
Lukas Brübach
6e7aa5c53e Add an option to sort by filename or last modified. 2025-01-03 14:07:41 +01:00
Lukas Brübach
d7bd0b8b07 No banner card equals an empty CardInfoPtr. 2025-01-03 14:07:41 +01:00
Lukas Brübach
5a6374386d Move the signals down to the widget, move the connections and slots up to the parent widgets. 2025-01-03 14:07:41 +01:00
Lukas Brübach
29943d9127 Turn the tab into a widget. 2025-01-03 14:07:41 +01:00
Lukas Brübach
f8db3017ff Include QDebug. 2025-01-03 14:07:41 +01:00
Lukas Brübach
2cb4409a6c Fix build issue with overload? 2025-01-03 14:07:41 +01:00
Lukas Brübach
3fc20e985e Fix build issue with overload? 2025-01-03 14:07:41 +01:00
Lukas Brübach
8fdf3cb95b Void event for now. 2025-01-03 14:07:41 +01:00
Lukas Brübach
49bd825196 Open Decks on double click, not single click. 2025-01-03 14:07:41 +01:00
Lukas Brübach
a0a7ca6a7b Add deck loading functionality. 2025-01-03 14:07:41 +01:00
Lukas Brübach
c0cfc92e3d Don't delint cmake list through hooks. 2025-01-03 14:07:41 +01:00
Lukas Brübach
d71c35e8cd Lint. 2025-01-03 14:07:41 +01:00
Lukas Brübach
abc6d96aca Show filename instead of deckname if deck name is empty. 2025-01-03 14:07:41 +01:00
Lukas Brübach
0d24e5d081 Add BannerCard to .cod format, use it in the visual deck storage widget. 2025-01-03 14:07:41 +01:00
Lukas Brübach
48bcd0a6ec Visual Deck Storage 2025-01-03 14:07:41 +01:00
Lukas Brübach
0a1e0bcf84 Add TabDeckStorageVisual 2025-01-03 14:07:41 +01:00
RickyRister
0402d4b853
add debug setting to load deck and ready on join (#5409)
* new property

* refactor deck loading to new method

* another new method

* works now
2025-01-02 17:08:51 -05:00
RickyRister
8a427955e7
Add debug setting to start local game on startup (#5408)
* new properties

* refactor

* start local game on startup

* disable autoconnect
2025-01-02 09:51:59 -05:00
RickyRister
bb4214e28a
Make SettingsManager params const ref (#5405)
* pass settingsPath by const ref

* pass params by const ref

* cleanup
2025-01-02 00:33:37 -05:00
RickyRister
f924b04efd
add debug settings; option to show cardIds (#5404)
* add debug settings; option to show cardIds

* pass param by const ref

* change group structure again

* create debug.ini if not exists
2025-01-02 00:32:58 -05:00
transifex-integration[bot]
62f60867a9
Translate cockatrice_en@source.ts in pt_BR (#5407)
100% translated source file: 'cockatrice_en@source.ts'
on 'pt_BR'.

Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
2025-01-02 00:32:29 -05:00
transifex-integration[bot]
b5844f1244
Translate cockatrice/cockatrice_en@source.ts in it (#5406)
100% translated source file: 'cockatrice/cockatrice_en@source.ts'
on 'it'.

Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
2025-01-01 22:28:42 -05:00
ryder052
8c0093d453
Crashfix for opening Deck editor (#5403)
* CardDatabase::getCards() no longer copies the whole database

---------

Co-authored-by: Jakub Mrowinski <ryder052@outlook.com>
2025-01-01 19:25:04 -05:00
RickyRister
34df4cd060
support multi-select in deck editor (#5397)
* support multiselect in deck editor

* fix crash

* don't reset selection after each action

* maintain old reselecting behavior when changing cards from left side

* fix crash for real (probably)

* maintain reselection behavior when deleting single selection
2025-01-01 00:43:47 -05:00
Zach H
99eea3a662
Improve Database Backup Speed (#5400)
* Support better indexes for Servatrice

- Prevent searching only on msg for logs
2025-01-01 00:28:57 -05:00