zahra nikbakht
32070c217d
MVVM: create a ListViewBase extension to support selecting an entry viewmodel and assigning them to entry widgets at runtime.
...
#rb patrick.boutot
[CL 32499939 by zahra nikbakht in 5.4 branch]
2024-03-26 02:42:34 -04:00
robert millar
b4fb6f46a7
Move static class member definition into translation unit.
...
[CL 32499890 by robert millar in 5.4 branch]
2024-03-26 02:40:51 -04:00
zahra nikbakht
7c51e9521d
MVVM: support view extensions for injecting MVVM-specific data to widgets.
...
#patrick.boutot
[CL 32499841 by zahra nikbakht in 5.4 branch]
2024-03-26 02:39:40 -04:00
patrick boutot
2eb95e0e09
UMG: Add the NamedSlot and the name of the viewmodel to the asset registry.
...
#rb yohann.dossantos
[CL 32492830 by patrick boutot in 5.4 branch]
2024-03-25 19:48:07 -04:00
patrick boutot
aa4f04528c
MVVM: Fix false positive warning. It is valid for a backward binding to set the same property but it is not valid for a forward binding. Forward binding executes on initialization. The order of initialization is not deterministic and would lead to miss use.
...
#rb editor-ui-systems
[CL 32492751 by patrick boutot in 5.4 branch]
2024-03-25 19:44:50 -04:00
bob tellez
da3e047376
[Backout] - CL31568442
...
[FYI] Patrick.Boutot
Original CL Desc
-----------------------------------------------------------------
MVVM: Enable compilation warning when there are 2 bindings trying to change the same value. Since the order is not configurable that can lead to binding executing in different orders and do run in an unexpected behavior.
#rb editor-ui-systems
[CL 31638804 by bob tellez in 5.4 branch]
2024-02-20 00:03:36 -05:00
patrick boutot
0ca96554ae
MVVM: Enable compilation warning when there are 2 bindings trying to change the same value. Since the order is not configurable that can lead to binding executing in different orders and do run in an unexpected behavior.
...
#rb editor-ui-systems
[CL 31568496 by patrick boutot in 5.4 branch]
2024-02-16 11:53:13 -05:00
zahra nikbakht
25953bba08
MVVM: add customization for property paths and conversion functions of bindings in the details panel
...
#jira UE-205044
#rb patrick.boutot
#p4v-cherrypick 31485811
[CL 31542346 by zahra nikbakht in 5.4 branch]
2024-02-15 18:16:09 -05:00
patrick boutot
cc02cd369e
MVVM: Change the source sort algo to support destination.
...
At initalization, one at the time, the source initialize and then execute the bindings. Binding can use a source a soon to be initialize source and a binding can set the value of a source. Both cases need to be taken into account when sorting the sources.
When initializing, the binding can trigger a FieldNotify of another initialized source that can trigger that same source that try to initialize. Add a message if that occurs.
#rb christian.savoie
[CL 31533842 by patrick boutot in 5.4 branch]
2024-02-15 15:40:59 -05:00
patrick boutot
55134354f5
MVVM: Fix ensure that warn when there is no delayed bindings to execute. Fix ExecuteAtInit flag when one of the field is not a FieldNotify. The ensure was a false positif and the flag was not removed correctly on the second to last source. Update the ToString method to better identify compiler problems in the future.
...
#rb editor-ui-systems
[CL 31443637 by patrick boutot in 5.4 branch]
2024-02-13 15:28:15 -05:00
patrick boutot
40f2c425a8
Generated widget properties are private unless specified "as variable" in the DetailView. This is to prevent mistakes and to not break encapsulation.
...
#jira UE-194167
#rb editor-ui-systems
#tests full cook
[CL 31381652 by patrick boutot in 5.4 branch]
2024-02-12 10:07:57 -05:00
patrick boutot
17b4ca66e0
MVVM: Function in another widget was not correctly tested for availability. Prevent crash when the availability test fails.
...
#jira UE-204712
#rb editor-ui-systems
[CL 31296568 by patrick boutot in 5.4 branch]
2024-02-08 13:38:56 -05:00
alex thomson
99ce1586bc
Merging CL 31002096 to fix blocking MVVM bug (prevents inventory UI appearing).
...
#rnx
[CL 31041124 by alex thomson in 5.4 branch]
2024-01-31 05:28:06 -05:00
zahra nikbakht
ff413c266c
MVVM: fix field selector permission setting not working.
...
Add to the list of disallowed fields.
#rb Patrick.Boutot
[CL 30887468 by zahra nikbakht in 5.4 branch]
2024-01-25 10:53:45 -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
steve robb
7da84c1d1b
Replaced UE_NODISCARD with [[nodiscard]].
...
[CL 30593744 by steve robb in ue5-main branch]
2024-01-12 10:47:04 -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
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
21dc15a95c
MVVM: Update the shared flag correctly after. Issue introduced with CL 30042195.
...
#rb editor-ui-systems
[CL 30496282 by patrick boutot in ue5-main branch]
2024-01-08 20:31:39 -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
18bcac7caf
MVVM: Fix bad deprecation for PinName. Confused IsValid with IsNone.
...
#jira UE-200604
#rb patrick.boutot
[CL 30433048 by patrick boutot in ue5-main branch]
2023-12-21 16:18:43 -05:00
patrick boutot
e50e0961e8
MVVM: Rename the property introduced with CL 30396310. It was in conflict with an old property that got removed and was not deprecated properly. Old data tries to load the old property with the bad type.
...
#rb none
[CL 30402116 by patrick boutot in ue5-main branch]
2023-12-19 15:38:12 -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
zahra nikbakht
07b5dae4ec
[Backout] - CL30376074
...
[FYI] zahra.nikbakht
Original CL Desc
-----------------------------------------------------------------
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 Patrick.Boutot
#virtualized
[CL 30378342 by zahra nikbakht in ue5-main branch]
2023-12-18 12:37:49 -05:00