RickyRister
46643065ef
Refactor banner card ComboBox ( #5947 )
2025-05-18 22:06:18 -04:00
RickyRister
b270562a44
Fix wrong Message Dock widget order from #5942 ( #5946 )
...
* fix
* refactor
2025-05-18 22:05:27 -04:00
BruebachL
cfbe59868b
[VDS] Add prompt before overwriting existing files when converting to .cod ( #5926 )
...
* Add prompt before overwriting existing files.
* Lint.
---------
Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
2025-05-17 22:25:13 -04:00
RickyRister
1eee314d17
[VDS] Add ability to search by deck contents ( #5943 )
...
* [VDS] Add ability to search by deck contents
* add deck search syntax help
* fix build failure
2025-05-17 22:23:54 -04:00
RickyRister
8cc64bf44e
Refactor TabGame: inline some QLayout and QWidget class fields ( #5942 )
...
* inline layouts
* inline widgets
2025-05-17 22:23:30 -04:00
RickyRister
5dd027ad63
[VDS] Deselect tag if clicked while already selected ( #5944 )
2025-05-16 14:39:33 -04:00
RickyRister
d51620640b
[VDS] Add setting to show deck filepath in tooltip ( #5899 )
...
* [VDS] Show deck filepath in tooltip
* Make tooltip type into a setting
* Fix build failure
2025-05-12 17:39:58 -04:00
BruebachL
17c767fa42
[GDE] Add a group criteria to the deck list model ( #5931 )
...
* Add a group criteria to the deck list model and a combo box to the deck dock widget to change it.
---------
Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
2025-05-12 17:36:55 -04:00
BruebachL
9cf979d154
[GDE/VDE] More granular modification signals. ( #5927 )
...
* More granular modification signals.
* Bruh.
---------
Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
2025-05-08 21:32:00 -04:00
RickyRister
033c8b269d
[VDS] Refactor: move quick settings to separate class ( #5905 )
2025-05-06 23:00:11 -04:00
RickyRister
c4e42b94f9
Refactor CardSizeWidget: don't update setting directly ( #5903 )
2025-05-06 21:31:01 -04:00
BruebachL
99d9ce10c3
[GDE, VDS & VDE] Tooltips and labels ( #5916 )
...
* Add correct inversion for isHidden() on bannerCardLabel.
* Add tooltips to VDS buttons.
* Add tooltip to GDE button.
* Add tooltips to visual deck editor buttons.
* Add tooltips to visual database display buttons.
* Lint.
---------
Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
2025-05-06 21:28:50 -04:00
BruebachL
34400c7f60
[VDE] Sample Hand Improvements ( #5917 )
...
* Actually call retranslateUi, add spinBox to change sample hand size, add card size slider.
* Lint.
* Fix include.
* Fix include again.
* Fix overloads.
* Update visual_deck_editor_sample_hand_widget.cpp
---------
Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
Co-authored-by: Zach H <zahalpern+github@gmail.com>
2025-05-06 21:28:03 -04:00
BruebachL
bddb54ef4c
[VDE] Deck analytics visibility ( #5919 )
...
* Add scrollArea, I guess.
* Set mana curve bar color to grey for visibility.
---------
Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
2025-05-06 21:24:24 -04:00
BruebachL
46e146b34a
[VDS] Allow tags to toggle to a NOT state to hide non-matching decks ( #5920 )
...
* Allow excluding tags.
* Lint.
* My linter is broken, don't ask.
* Zzz.
---------
Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
2025-05-06 21:23:49 -04:00
BruebachL
f16ba6861b
Forward scroll event to scrollable parents if possible in NoScrollFilter. ( #5921 )
...
Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
2025-05-06 21:22:37 -04:00
BruebachL
fb6af544e2
Set Banner Card again when restoring index on deckList data changes. ( #5922 )
...
* Set Banner Card again when restoring index on deckList data changes.
* Lint.
---------
Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
2025-05-06 21:20:38 -04:00
BruebachL
9ae6357c34
Properly manage hover-zoom child widget in CardInfoPictureWidget destructor. ( #5900 )
...
Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
2025-05-03 20:03:53 -04:00
BruebachL
700feb68af
Don't require .svg for mana symbols. ( #5897 )
...
Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
2025-05-02 14:34:41 -04:00
RickyRister
57c6f2716f
Add setting for which deck editor tab to open deck in ( #5895 )
...
* Create new setting
* Update settings dlg
* implement functionality
* Make setting into an enum
2025-05-02 13:00:32 -04:00
BruebachL
873e0d346e
Make a setting for filtering to the most recent sets. ( #5865 )
...
Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
2025-04-20 14:39:20 +00:00
RickyRister
44ac782978
Move card_item and related to src/game/board ( #5867 )
...
* move files
* update includes
* update cmake
2025-04-20 14:37:52 +00:00
BruebachL
dcbb8bab75
[VDD] Defer filter tree assignment ( #5864 )
...
* RetranslateUi instead of updating filter mode.
* Defer setting the filter tree on the database display model until AFTER all the filter widgets are initialized.
* Update visual_database_display_set_filter_widget.cpp
---------
Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
Co-authored-by: Zach H <zahalpern+github@gmail.com>
2025-04-20 04:17:25 +00:00
BruebachL
acd9a163f0
[VDD] Saner and more performant color filtering, allow deleting specific filter from filterTree ( #5863 )
...
* Saner and more performant color filtering.
* Update visual_database_display_color_filter_widget.cpp
---------
Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
Co-authored-by: Zach H <zahalpern+github@gmail.com>
2025-04-20 04:15:28 +00:00
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