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
Basile Clement
c219d8bdbb
hotfix: Remove menus when closing game ( #5744 )
...
Version of #5740 that doesn't leave freed `QMenu`s lying around.
2025-03-17 22:54:16 -04:00
Basile Clement
4812508afc
DeckEditor: Initialize the modified flag ( #5743 )
...
C++ does not require compilers to zero-initialize value types, so
depending on the platform (here: Linux), the deck editor starts up with
an uninitialized value in the `modified` flag, which is usually not
zero.
2025-03-17 21:43:14 -04: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
eb4b1c2a07
Fix extra .cod in "save deck as" default name ( #5720 )
2025-03-15 18:44:03 +00:00