BruebachL
ca538399f6
Improved EDHrec tab ( #5840 )
2025-04-17 10:10:38 -04:00
RickyRister
36f9f65798
Fix intermittent segfault in VDS sort ( #5843 )
2025-04-17 10:10:08 -04:00
RickyRister
2189fc0a96
Include card_info.h over card_database.h if able ( #5841 )
...
* Move a typedef to card_info.h
* Include card_info.h over card_database.h if able
2025-04-17 00:38:57 -04:00
BruebachL
854208ea0a
Implement deck analytics widgets. ( #5837 )
...
Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
2025-04-16 14:23:13 +00:00
BruebachL
67db245aea
Add a button to quickly clear all filters, correctly emit signals in filter tree when clearing. ( #5835 )
...
Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
2025-04-16 12:32:57 +00:00
BruebachL
42c56898d5
Visual Deck Editor Base ( #5834 )
...
* Visual Deck Editor.
* Lint.
* Address comments.
---------
Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
2025-04-16 12:02:53 +00:00
BruebachL
a55a287a9d
Pull the subfilters out. ( #5836 )
...
Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
2025-04-15 22:16:19 +00:00
RickyRister
181bef0057
Use the common search syntax window method in visual database display ( #5829 )
2025-04-15 22:09:36 +00:00
RickyRister
728c87589f
Refactor files in src/client/ui to new Qt Slot/Signal syntax ( #5832 )
2025-04-15 22:06:56 +00:00
BruebachL
c4d0921a15
Visual Database Display Tab. ( #5822 )
...
* Visual Database Display Tab.
* Address comments.
* Readd dropped method.
* Update filterTree properly in case the filter is empty after modification.
---------
Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
2025-04-15 01:25:49 +00:00
ebbit1q
300a37a199
change settings entry of the cod conversion prompt to a combobox ( #5801 )
...
* change settings entry of the cod conversion prompt to a combobox
replace the two checkboxes of which one state is ignored if one is
checked with a three state combobox for better user experience
* Update dlg_settings.cpp
---------
Co-authored-by: Zach H <zahalpern+github@gmail.com>
2025-04-11 23:12:34 -04:00
Basile Clement
b214933da9
fix: Disable HTTP compression when downloading pictures ( #5793 )
...
This causes Qt to leak file descriptors and causes the "Too many open
file descriptors" error that we sporadically see, see
https://bugreports.qt.io/browse/QTBUG-135641
2025-04-11 23:01:35 -04:00
ebbit1q
9463390e80
fix client crash when server goes down during registration ( #5787 )
2025-04-11 23:01:14 -04:00
RickyRister
3b758962e4
Add search filter to card view window ( #5791 )
...
* refactor out search syntax help window
* add search bar to ZoneViewWidget
* implement filter logic
2025-04-11 23:00:46 -04: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
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
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
2a3b9a9a5e
Fix QImage::mirrored deprecation warning ( #5792 )
2025-04-05 12:21:11 +02:00
RickyRister
d662152088
Change default log level to info ( #5779 )
...
* update qtlogging.ini
* bump some qCDebug to qCInfo and qCWarning
2025-04-03 00:17:10 -04:00
RickyRister
08f3a56285
Fix crash when right click floating card info window ( #5773 )
2025-03-27 00:54:34 +00:00
RickyRister
5af71d1c2e
Hardcode default log level for FlowWidget/FlowLayout ( #5769 )
2025-03-26 01:23:23 +00:00
Basile Clement
1ada5ea424
fix: Always prefer local cards if available ( #5762 )
...
* Try to better reproduce pre-provider ID behavior
If "override all card art with personal preference" setting is set, look
for custom art for all sets instead of just the most preferred set.
* Warning when using both custom art and the printing selector
* QDirIterator::nextFileInfo is Qt 6.3+
* Translation
2025-03-26 01:23:09 +00:00
RickyRister
9bc6ae1567
Fix delete action in filters not working ( #5765 )
...
* Fix delete action in filters not working
* move filterRemove under slots
2025-03-23 12:03:56 -04:00
Basile Clement
c71685b261
Add option to disable card rounding ( #5760 )
...
* Add option to disable card rounding
* Effing mocks
* format
* Get rid of cardCornerRadius property
2025-03-22 01:07:52 -04:00
RickyRister
9decf78d2d
Fix typo in comment about accepted decklist file formats ( #5754 )
2025-03-21 00:31:38 +00:00
Basile Clement
a6f2e69e1a
vds: Allow editing tags more than once ( #5752 )
...
`refreshTags` is not connecting the signal to open the dialog to edit
the tags, so tags can only be edited once for a given deck.
Fix by only having the logic for creating the "Edit tags" button once
and call it from `connectDeckList`.
2025-03-21 00:31:25 +00:00
RickyRister
0fa744f6ec
Consolidate accepted decklist file extensions ( #5749 )
...
* Consolidate accepted decklist file extensions
* rename the other const
2025-03-19 01:53:14 +00:00
RickyRister
42301d4f1a
Filter out non-deck files when building VDS ( #5748 )
2025-03-18 22:22:36 +00:00
RickyRister
b5c5d221c4
Remove redundant "show unused color identities" settings ( #5745 )
...
* move setting to vds settings menu
* emit signal on change
* rename setting
2025-03-18 22:21:28 +00:00
RickyRister
4d8a124822
Rename save to clipboard actions in DeckPreviewWidget ( #5738 )
2025-03-16 23:19:57 +00:00
BruebachL
bd28e04635
Reintroduce unused color identity opacity ( #5733 )
...
Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
2025-03-16 23:05:38 +00:00
Basile Clement
37382dea44
Close the TabGames when closing the TabSupervisor ( #5735 )
...
* Close the `TabGame`s when closing the `TabSupervisor`
This ensures that we go through the same code path (in terms of Qt
events) when closing the whole supervisor as when closing a single tab.
Also, use the `close` event instead of the `hide` event to detect when
we are closing a game.
Fixes #5697
* Compat with old Qt versions
* Old Qt, reloaded
* Review: use hideEvent and call super
2025-03-16 23:05:04 +00:00
Basile Clement
57a8960841
Add declaration for setAttrRecur ( #5734 )
2025-03-16 23:02:31 +00:00
RickyRister
6b4ae8308a
Reduce tag display widget spacing ( #5731 )
...
* Reduce tag display widget spacing
* Reduce bottom margin in deck dock
2025-03-16 23:02:06 +00:00
Basile Clement
2739550087
Use enum for ThemeManager brushes ( #5730 )
...
* Use enum for ThemeManager brushes
This patch introduces an enum to distinguish the different brushes that
can be set by the theme (hand, stack, etc.) and generic functions taking
the enum rather than having one copy of each function for each brush.
This is preliminary work before merging StackZone and HandZone to
simplify #4974 .
* Include <array> header
* Header spacing
2025-03-16 23:01:25 +00:00
BruebachL
a407c8b956
Reintroduce ability to display unused mana symbol widgets. ( #5726 )
...
Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
2025-03-15 19:11:46 +00:00
RickyRister
7d558edb3e
Fix banner and tags not resetting on blank new deck ( #5721 )
...
* Fix bannerWidget not resetting when opening new blank deck
* also reset tags
2025-03-15 18:44:51 +00:00
RickyRister
ff7f31ca33
add "Set Banner Card" action to VDS right-click menu ( #5692 )
2025-03-05 21:05:34 -05:00
ZeldaZach
5238087ddf
Parent bannerCardLabel to avoid popups
2025-03-04 22:45:53 -05:00
RickyRister
08bb18cefe
Fix VDS filters not applying after refresh ( #5662 )
...
* reapply sort and filters after each reset
* fix unflatten folder still not applying afterwards
2025-03-05 00:57:28 +00:00
RickyRister
ecbdd32a2d
Reduce redundant recursion in VDS ( #5664 )
...
* remove recursion from flattenFolderStructure
findChildren is already recursive by default
* only trigger the top-level updateVisibility on filter update
Every folder widget was connecting the filter update signals to their updateVisibility, but updateVisibility is already recursive.
That means a bunch of redundant updateVisibility calls happen every time a filter update signal is emitted
* reduce redundant recursion in updateVisibility
findChildren is recursive by default, so only the top-level updateVisibility needs to loop through the found children
* delete now-unused signals
2025-03-05 00:56:31 +00:00
BruebachL
8fc1b22889
Use the new mana symbols. ( #5687 )
...
* Use the new mana symbols.
* Fixup some thangs.
* Lint.
---------
Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
2025-03-05 00:53:42 +00:00
BruebachL
b706e26a32
Fix image quality when fractional scaling is applied. ( #5684 )
...
Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
2025-03-03 08:40:12 -05:00
BruebachL
15725c67c7
Fix banner widget buddy being uninitialized. ( #5686 )
...
Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
2025-03-03 08:38:27 -05:00
RickyRister
d8da4473e2
add rename and delete actions to VDS right-click menu ( #5683 )
2025-03-03 08:35:50 -05:00
RickyRister
e1964f21de
Fix memory leaks from DeckLoader usage ( #5665 )
...
* add comment
* stack allocate DeckLoader for loading tags
* deckModel now takes ownership of DeckLoader
* fix remaining
* add comment
2025-03-02 18:57:30 -05:00
BruebachL
56bd11794e
Set modification state correctly. ( #5678 )
...
Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
2025-03-02 09:28:16 -05:00
BruebachL
e541b9d572
Silence picture loader warnings for null pixmaps by introducing checks. ( #5677 )
...
Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
2025-03-02 09:27:52 -05:00
RickyRister
a7e8c1f59b
Make BannerWidget's dropdown icon more robust ( #5676 )
...
* Make BannerWidget's dropdown icon more robust
* use isHidden
Otherwise, it doesn't work correctly if the BannerWidget is offscreen
* don't show icon if there's no buddy
2025-03-02 09:26:03 -05:00