RickyRister
ae2c55c33b
Refactor: use ExactCard to represent specific printings ( #6049 )
...
* Create new class
* Update CardInfo and CardDatabase
* Use new class instead of CardInfoPtr
* fix cmake
2025-07-28 21:04:45 -04:00
RickyRister
a9b3be33e0
Refactor: Represent cardName + providerId with CardRef struct ( #6039 )
...
* card_ref.h
* update CardDatabase signatures
* make everything compile
* rename methods
* add docs
* mark stuff const
* set cardRef in CardItem
* cleanup
* fix build failure
* Fix builds on mac
---------
Co-authored-by: ZeldaZach <zahalpern+github@gmail.com>
2025-07-15 22:14:02 -04:00
BruebachL
c388cee1fe
Add a new dialog that allows editing the default suggested tags. ( #5979 )
...
* Add a new dialog that allows editing the default suggested tags.
* Lint.
* Actually hand linting, lol.
* Fix Build
* Add dialog.
* Use show() instead of exec(), properly size hint list item widgets.
* Fix... something to do with the build?
* Cast to abstract tab deck editor instead of regular.
---------
Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
Co-authored-by: ZeldaZach <zahalpern+github@gmail.com>
2025-06-13 09:16:57 -04:00
BruebachL
f059643187
[Picture Loader] Consider local images, remove some unused variables. ( #5985 )
...
* Consider local images, remove some unused variables.
* Move checking for local card images outside of card download loop, add NOT found debug line.
---------
Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
2025-06-13 08:54:43 -04:00
RickyRister
7e08f7df67
[VDS] Remove searchFolderName setting ( #5970 )
...
* [VDS] Remove searchFolderName setting
* rename property in ExtraDeckSearchInfo
2025-06-12 20:45:01 -04:00
RickyRister
7495d2dc65
[VDS] Use display name for generic search expression ( #5976 )
2025-06-12 19:32:24 -04:00
RickyRister
46643065ef
Refactor banner card ComboBox ( #5947 )
2025-05-18 22:06:18 -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
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
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
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
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
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
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
RickyRister
36f9f65798
Fix intermittent segfault in VDS sort ( #5843 )
2025-04-17 10:10:08 -04: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
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
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
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
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
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
RickyRister
2a9599eed8
refactor saveDeckToClipboard in AbstractTabDeckEditor ( #5671 )
...
* refactor saveDeckToClipboard in AbstractTabDeckEditor
* make deckloader functions const
* use const
* move method into DeckLoader
2025-03-01 09:21:31 -05:00
BruebachL
d76e8f9146
Clamp all DeckPreviewWidget children to the card size on resize. ( #5669 )
...
Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
2025-02-28 11:10:40 -05:00
BruebachL
93d28717e0
Abstract deck editor ( #5646 )
...
* Generify TabDeckEditor.
* Connect dockTopLevelChanged signals.
* Connect eventFilters.
* Remove comments.
* Fix ze build (accidentally deleted a line)
* Fix some pointer chaining.
* Be a lot saner about some signals/slots, as in, individual Deck Editor widgets now internally determine their CardInfo and then simply communicate this to the DeckEditor
* Lint.
* DeckDock can handle its own menu.
* DeckDock can handle its own decrement.
* DeckDock now notifies the deck editor on deck change, instead of individually modifying menu items and modification status.
* Rename.
* Include pixelmap generator for icon.
* Directly use an AbstractTabDeckEditor as parent.
* Move clearing database filter into signal/slot relation.
---------
Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
2025-02-27 10:57:58 -05:00
RickyRister
6df97a156f
Change "include folder name in VDS search" into a setting ( #5659 )
...
* add new setting
* implement thing
2025-02-26 12:01:30 -05:00
BruebachL
05d06f9016
Sort Tags in TagFilterWidget ( #5660 )
...
Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
2025-02-26 11:59:59 -05:00
RickyRister
9ac13018c6
include folder name in VDS search when folders are enabled ( #5637 )
2025-02-25 18:39:34 -05:00
RickyRister
06b25f1cfc
add "edit tags" to VDS right-click menu ( #5631 )
...
* refactor: move openTagEditDlg up a level
* add edit tags to menu
* set DeleteOnClose attribute on menu
* fix build failure
2025-02-25 18:38:55 -05:00
RickyRister
4543038fd8
add "open in deck editor" to VDS right-click menu ( #5634 )
2025-02-25 18:35:56 -05:00
RickyRister
b46667f6db
Fix memory leak when refreshing VDS ( #5647 )
...
* parent deckLoader
* leave comment
2025-02-25 18:30:20 -05:00
RickyRister
3df4efebaa
Revert file watcher in VDS ( #5636 )
2025-02-18 20:04:37 +00:00
RickyRister
a28300ac42
add "save deck to clipboard" to VDS right click menu ( #5625 )
2025-02-16 04:18:47 +00:00
RickyRister
abca5514af
support right-click menu in VDS ( #5622 )
...
* support right-click menu in VDS
* move methods around
2025-02-16 02:43:20 +00:00
RickyRister
2247c66ea6
refactor how double click signal gets passed up in VDS ( #5621 )
2025-02-15 19:06:11 -05:00