453 Commits

Author SHA1 Message Date
patrick boutot
4b5a2cd093 MVVM: Fix crashes when the application closes and the binding subsystem is no longer available.
#rb yohann.dossantos, zahra.nikbakht

[CL 32510721 by patrick boutot in 5.4 branch]
2024-03-26 11:38:51 -04:00
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
1441e24e15 Add option to filter the resolver to only returns the viewmodel desired class.
#jira UE-207188
#rb yohann.dossantos

[CL 32492968 by patrick boutot in 5.4 branch]
2024-03-25 19:51:08 -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
patrick boutot
b8b38c30e1 Fix build issue 432248 introduced with CL 31643104
#rnx
#jira UE-164353, FORT-711345

[CL 32491747 by patrick boutot in 5.4 branch]
2024-03-25 19:19:48 -04:00
patrick boutot
72300ae319 MVVM: Add the UserWidget to the message log. The UserWidget is a link that the user can click on.
#jira UE-164353, FORT-711345
#rb editor-ui-systems

[CL 32491745 by patrick boutot in 5.4 branch]
2024-03-25 19:19:44 -04:00
hilda cruz
f1033cf11f [Backout] - CL31610257
[FYI] Patrick.Boutot
#rnx
Original CL Desc
-----------------------------------------------------------------
MVVM: Add the UserWidget to the message log. The UserWidget is a link that the user can click on.
#jira UE-164353
#rb editor-ui-systems

[CL 32484145 by hilda cruz in 5.4 branch]
2024-03-25 16:57:07 -04:00
patrick boutot
f3c9ec3c70 MVVM: Add the UserWidget to the message log. The UserWidget is a link that the user can click on.
#jira UE-164353
#rb editor-ui-systems

[CL 32474598 by patrick boutot in 5.4 branch]
2024-03-25 13:15:28 -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
76f4880600 MVVM: Always assign the viewmodel value to the property value. It's a bug to not assign it when it's null.
#rb daren.cheng

[CL 31575413 by patrick boutot in 5.4 branch]
2024-02-16 14:44:06 -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
vincent gauthier
54250b9649 Localization Warning fixes.
#rnx
#jira UE-207165
#rb vincent.gauthier
[FYI] patrick.boutot

[CL 31566108 by vincent gauthier in 5.4 branch]
2024-02-16 10:54:17 -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
ben zeigler
0c67a543a0 Fix engine FTickableGameObjects to never tick if they are part of a class default object.
Checking IsTemplate in GetTickableTickType only happens on the first tick, while IsAllowedToTick is called every frame.
#rb Simon.orr

[CL 31268899 by ben zeigler in 5.4 branch]
2024-02-07 15:26:00 -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
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