BruebachL
795149e776
Don't force size unnecessarily, correctly parent scrollArea. ( #5862 )
...
Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
2025-04-20 04:12:46 +00:00
BruebachL
55bff6b52f
Make sample hand flow widget a scrollbar one until we figure out why non-scrollbar ones don't resize correctly. ( #5861 )
...
Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
2025-04-20 04:12:30 +00:00
BruebachL
82be0a8898
Propagate display updates to found widgets. ( #5860 )
...
Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
2025-04-20 04:12:16 +00:00
BruebachL
f98aad57d3
Add filter connection after toggling buttons and emit on end. ( #5858 )
...
Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
2025-04-20 04:11:52 +00:00
BruebachL
81a911dc11
Add the option to hide banner card and tags in deck editor. ( #5857 )
...
Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
2025-04-20 04:11:32 +00:00
RickyRister
39f87a5e78
VDS: Optimize refreshTags in VisualDeckStorageTagFilterWidget ( #5856 )
...
* make methods const
* remove redundant calls to gatherAllTags
* make methods private
* use QSet instead of QStringList
2025-04-20 04:10:32 +00:00
BruebachL
aff4ffdf83
[GDE] Disable add tag button until text is entered. ( #5855 )
...
* Disable add tag button until text is entered.
* Reduce capture scope.
---------
Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
2025-04-20 04:09:25 +00:00
RickyRister
26dcb015ce
Refactor function structs into lambdas ( #5675 )
...
* change signature to use lambda
* reuse comparator
* inline structs in forEachCard
* inline structs
* Refactor exportDeckToDecklist
* fix unit test
2025-04-20 04:07:22 +00:00
BruebachL
1e01c684c4
Display cards as set variants if only a single set is selected. ( #5854 )
...
Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
2025-04-18 19:25:39 -04:00
BruebachL
3b1d6e394d
[EDHRec] Display name above card, add bars for inclusion and synergy instead of coloring the whole label, card size slider ( #5851 )
...
* Display name above card, add bars for inclusion and synergy instead of coloring the whole label.
* Re-add commander label.
* Add a card size slider.
* Lint.
---------
Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
2025-04-18 22:28:44 +00:00
BruebachL
2fe639676b
VDS performance fixes ( #5848 )
...
* Block updates, don't validate cardInfo and use ItemModel instead of looped addItem.
* Change to QVariant map directly.
---------
Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
2025-04-18 22:15:33 +00:00
BruebachL
adaa31b34d
Only emit cardClicked if it wasn't a right click. ( #5838 )
...
* Only emit cardClicked if it wasn't a right click.
* Oh.
---------
Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
2025-04-18 03:32:16 +00:00
BruebachL
00095cb71c
Delete later where possible. ( #5842 )
...
Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
2025-04-18 03:32:01 +00:00
BruebachL
8af1f2b6d9
Implement a little "raise on enter" animation for deck preview widgets. ( #5844 )
...
* Implement a little "raise on enter" animation for deck preview widgets.
* Why does the linter need to be run twice?
* Fix build.
---------
Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
2025-04-18 03:31:47 +00:00
BruebachL
653362567b
Refactor Tab EDHRec into folders, add navigation for budget and GC, add card prices ( #5845 )
...
* Refactor things into more sensible folders.
* Add navigation widget for budget and game changers.
* Lint.
* Add a card price display widget.
* Qt version check.
* Lint some thangs.
---------
Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
2025-04-18 03:28:04 +00:00
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
RickyRister
686717e544
Refactor files in src/client/tabs to new Qt Slot/Signal syntax ( #5833 )
...
* Refactor files in src/client/tabs to new Qt Slot/Signal syntax
* Refactor DeckEditorMenu to use new signal/slot syntax
Add DeckEditorMenu as friend class to AbstractTabDeckEditor since the slots are protected
* fix build failure
2025-04-15 22:05:52 +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
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
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
345606846f
Enable shortcuts for the remaining export deck actions ( #5761 )
2025-03-21 02:49:02 +00: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
99376e75d6
Support exporting to decklist.xyz website ( #5756 )
...
* Support exporting to decklist.xyz
* fix typo
2025-03-21 00:28:15 +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