Commit graph

5316 commits

Author SHA1 Message Date
Lukas Brübach
f08bd6aac4 Block signals on every filter, which theoretically, should make it so that strain doesn't increase proportionally with filter amount. 2025-04-10 07:49:52 +02:00
Lukas Brübach
d45310191f Block some updates in the name of performance. 2025-04-10 07:49:52 +02:00
Lukas Brübach
5791d7ffda Fetching seven cards from the database on every decklist update is insanity performance-wise. 2025-04-10 07:49:52 +02:00
Lukas Brübach
4afd574b48 Fixed sizes for color identity symbols. 2025-04-10 07:49:52 +02:00
Lukas Brübach
2b24b52cfc Update color filter logic to be proper and implement include/exclude mode. 2025-04-10 07:49:52 +02:00
Lukas Brübach
3323508722 Fix quick-add search bar stealing focus for modal widgets. 2025-04-10 07:49:52 +02:00
Lukas Brübach
a0e6a5bbe5 Allow toggling between flat and overlap style and resizing the cards themselves. 2025-04-10 07:49:52 +02:00
Lukas Brübach
4b868e7478 Pull out the main type filter. 2025-04-10 07:49:52 +02:00
Lukas Brübach
6d8509f14b Lint. 2025-04-10 07:49:52 +02:00
Lukas Brübach
9a271d2ea5 Allow deleting filters. 2025-04-10 07:49:52 +02:00
Lukas Brübach
d6d0b35b8d Nuke the overlap control widget for now. 2025-04-10 07:49:52 +02:00
Lukas Brübach
a7ee47c098 Add a widget to quickly add cards to the deck. 2025-04-10 07:49:52 +02:00
Lukas Brübach
a729b749ba Remove some debugs 2025-04-10 07:49:52 +02:00
Lukas Brübach
424822d982 Also restore color circle widget. 2025-04-10 07:49:51 +02:00
Lukas Brübach
deb4d5ab44 Unlint a thang. 2025-04-10 07:49:51 +02:00
Lukas Brübach
aeb24fa58e Restore filters on load correctly. 2025-04-10 07:49:51 +02:00
Lukas Brübach
b823ad2d9d Include stuff.
Lint.
2025-04-10 07:49:51 +02:00
Lukas Brübach
7f8bd8d443 Change database color filter to use new mana symbol widgets. 2025-04-10 07:49:51 +02:00
Lukas Brübach
c90c453464 Add a widget explaining the click and drag to sort functionality. 2025-04-10 07:49:51 +02:00
Lukas Brübach
fb20365ea0 Remove a debug. 2025-04-10 07:49:51 +02:00
Lukas Brübach
47e6780ffa Remove redundant frame. 2025-04-10 07:49:51 +02:00
Lukas Brübach
edd0199efb Fix and improve sorting, properly layout grouping and sorting. 2025-04-10 07:49:51 +02:00
Lukas Brübach
c9f95e1df1 Change the filters path to not be hardcoded anymore. 2025-04-10 07:49:51 +02:00
Lukas Brübach
f326f74b5e Do not do a range based sort, no matter how much CLion insists. 2025-04-10 07:49:51 +02:00
Lukas Brübach
1868981cb5 Rebase. 2025-04-10 07:49:51 +02:00
Lukas Brübach
604ca395cc Address some comments, clean some weak warnings. 2025-04-10 07:49:51 +02:00
Lukas Brübach
488be525ed Introduce class variable for loadCardsTimer. 2025-04-10 07:49:51 +02:00
Lukas Brübach
60485f45d3 Remove another debug. 2025-04-10 07:49:51 +02:00
Lukas Brübach
3482f95c55 Remove some debugs. 2025-04-10 07:49:51 +02:00
Lukas Brübach
9307d617c6 Remove some commented stuff. 2025-04-10 07:49:51 +02:00
Lukas Brübach
14d916e0f5 Add icons and search help, proper variables for quick filter widgets. 2025-04-10 07:49:51 +02:00
Lukas Brübach
b206b3e450 Lint. 2025-04-10 07:49:51 +02:00
Lukas Brübach
baaecfd983 Remove a non-existant signal, containerize some layouts to silence warnings. 2025-04-10 07:49:51 +02:00
Lukas Brübach
b774c1881a Hide database display dock widget. 2025-04-10 07:49:51 +02:00
Lukas Brübach
25cad5c006 Clean up imports. 2025-04-10 07:49:51 +02:00
Lukas Brübach
b1a7f79ab2 Fix menu options. 2025-04-10 07:49:51 +02:00
Lukas Brübach
437b6454da Figure out view menu state correctly. 2025-04-10 07:49:51 +02:00
Lukas Brübach
c14923db33 Return cardlists directly. 2025-04-10 07:49:51 +02:00
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