Commit Graph

237 Commits

Author SHA1 Message Date
patrick boutot
05755c2a14 MVVM: Fix editor that show the field list when the source is not yet valid. Introduced with CL28965726
#rb yohann.dossantos, zahra.nikbakht

[CL 30862604 by patrick boutot in 5.4 branch]
2024-01-24 16:37:05 -05:00
patrick boutot
d27d4891cf MVVM: Fix structure permissions when iterating/displaying.
#rb yohann.dossantos

[CL 30841805 by patrick boutot in ue5-main branch]
2024-01-24 09:29:05 -05:00
zahra nikbakht
80badbd5ce MVVM: allow events to bind to functions with any number of parameters.
#jira UE-199291
#rb Patrick.Boutot

[CL 30825631 by zahra nikbakht in ue5-main branch]
2024-01-23 19:17:27 -05:00
zahra nikbakht
1692e62b5c MVVM: allow viewmodel values to be edited on nested userwidgets.
Expose viewmodels whose creation type is "Create Instance" in the details panel of nested userwidgets and allow editing them independently.
#jira UE-185718
#rb christian.savoie, jared.joyal, Patrick.Boutot

[CL 30717868 by zahra nikbakht in ue5-main branch]
2024-01-19 11:53:42 -05:00
patrick boutot
146c084883 MVVM: Enable K2Node as conversion functions.
#jira UE-190393
#rb editor-ui-systems

[CL 30592808 by patrick boutot in ue5-main branch]
2024-01-12 10:07:58 -05:00
patrick boutot
d44a4d364b MVVM: Fix issue where the binding list was registering to the modification callback too many times.
#jira UE-190393
#rb yohann.dossantos

[CL 30584487 by patrick boutot in ue5-main branch]
2024-01-11 20:45:20 -05:00
patrick boutot
5e4922d302 MVVM: Show binding blueprint graph doesn't copy the graph. It now bring it into focus or show it into a new tab if it's a temporary graph.
#rb yohann.dossantos

[CL 30567643 by patrick boutot in ue5-main branch]
2024-01-11 09:46:52 -05:00
zahra nikbakht
af40e0a047 MVVM: support widget drag-drop from hierarchy view to binding panel.
#jira UE-202316
#rb Patrick.Boutot

[CL 30540722 by zahra nikbakht in ue5-main branch]
2024-01-10 12:34:06 -05:00
patrick boutot
dfeccefe8d MVVM: In the editor, the "show generated graph" button now only show the generated graph and does not duplicate or add it to the blueprint.
Fix build issue "Use of if (A) {...} else if (A){...}"

[CL 30502868 by patrick boutot in ue5-main branch]
2024-01-09 07:58:46 -05:00
patrick boutot
1293c58646 MVVM: Add PinLinedValue. Use as a variant to easily set the propertypath, function or node of a pin.
#jira UE-200604

[CL 30496334 by patrick boutot in ue5-main branch]
2024-01-08 20:36:10 -05:00
patrick boutot
6aaa6fe147 MVVM: Change the location of the fieldnotify icon in the MVVM editor to help with consistency with the other tools.
[CL 30496210 by patrick boutot in ue5-main branch]
2024-01-08 20:24:09 -05:00
patrick boutot
455cdbbfc2 Change the layout to include the notification bell
#jira UE-201175
#rb editor-ui-systems

[CL 30440514 by patrick boutot in ue5-main branch]
2023-12-22 10:10:10 -05:00
patrick boutot
9974aef4a7 MVVM: Add MVVMBlueprintFunctionReference. A struct that can be a K2Node or a UFunction.
#jira UE-200604
#rb editor-ui-systems

[CL 30440347 by patrick boutot in ue5-main branch]
2023-12-22 09:43:14 -05:00
patrick boutot
754ef035a8 MVVM: Revert bad merge in EventRow introduce with CL 30179633.
#jira UE-200604

[CL 30396364 by patrick boutot in ue5-main branch]
2023-12-19 11:33:25 -05:00
patrick boutot
abacb37ea4 MVVM: Update the pin from a name to an array of name. That will allow the pin to be used in converion function inside conversion function.
#jira UE-200604
#rb editor-ui-systems

[CL 30396321 by patrick boutot in ue5-main branch]
2023-12-19 11:31:33 -05:00
patrick boutot
795b4519b7 MVVM: Select the accessor class from the binding entry instead of calculating a new one. It may fail the verification if the property is not yet created and will be created later when compiling the widget.
#jira UE-202934

[CL 30384398 by patrick boutot in ue5-main branch]
2023-12-18 17:56:11 -05:00
matt peters
64658cf6ae GetAssetRegistryTags deprecation: Make the old GetAssetRegistryTags and related functions deprecated.
Upgrade the overrides and callsites in all of Epic's code.
Every class that can be subclassed by licensees that has its override change needs to keep the old version of the function as deprecated. Otherwise subclasses that call Super::GetAssetRegistryTags will have a compile error instead of a deprecation warning.
Several classes had their own extension method for GetAssetRegistryTags being passed on to user data classes. Updated all of those to take FAssetRegistryTagsContext just like GetAssetRegistryTags does.
#rnx
#rb Francis.Hurteau

[CL 30224166 by matt peters in ue5-main branch]
2023-12-08 21:45:21 -05:00
patrick boutot
8fcc4bc35b MVVM: Add developer option to copy the generated graph from a binding. Move the common for tthe ENtryRow to the MVVMRowHelper.
#jira UE-200604
#rb editor-ui-systems

[CL 30179639 by patrick boutot in ue5-main branch]
2023-12-07 10:20:55 -05:00
patrick boutot
d4ab788a71 MVVM: Update after 30041295 review to the viewmodel customization
#rb zahra.nikbakht

[CL 30153054 by patrick boutot in ue5-main branch]
2023-12-06 08:36:31 -05:00
zahra nikbakht
058dddd061 MVVM: Sort conversion functions alphabetically
#jira UE-201159
#rb Patrick.Boutot

[CL 30092886 by zahra nikbakht in ue5-main branch]
2023-12-04 15:36:38 -05:00
patrick boutot
10af53aa25 MVVM: Move rows code from ViewBindingListView.cpp to different cpp files. No behavior modifications.
#jira UE-130879
#rb zahra.nikbakht

[CL 30084941 by patrick boutot in ue5-main branch]
2023-12-04 11:45:38 -05:00
patrick boutot
32891330a9 MVVM: Change the description when there is no viewmodel or bindings or events. Change the condition for when adding the view to the Generated UserWidget.
#jira UE-201683

[CL 30049922 by patrick boutot in ue5-main branch]
2023-12-01 14:57:43 -05:00
patrick boutot
fa42c9b609 MVVM: Rework for the view runtime data. The new format allows for better error detection and new features in progress. The view owns the bindings and events. The source has a list of the bindings. That saves runtime of memory, the delegate doesn't store the binding id. All bindings, events, sources are now sorted for better incremental build performance.
Add a different "key" structures to prevent mistakes with indexes.
Unregister the delay bindings when the source is released.
Store the FieldId, in the source itself. That reduces the amount of work when loading the view.
Add option to delay the events initialization (like we do for bindings).
The binding to evaluate "long path" view models are now separated from regular bindings.
#jira UE-194167
#rb editor-ui-systems

[CL 30042205 by patrick boutot in ue5-main branch]
2023-12-01 11:13:35 -05:00
patrick boutot
158eed9d9c MVVM: Enable setter flag by default. Add flag to generate a public getter. Change the display logic for the optional flag and the setter flag.
#rb editor-ui-systems

[CL 30041317 by patrick boutot in ue5-main branch]
2023-12-01 10:43:39 -05:00
patrick boutot
07fb8f1055 MVVM: Setter inside a struct is now supported. PropertyPath like Viewmodel.StructA.StructB.Value. It will use the property setter and requires a blueprint graph.
[CL 29894383 by patrick boutot in ue5-main branch]
2023-11-22 14:33:59 -05:00