Commit Graph

147 Commits

Author SHA1 Message Date
patrick boutot
b26e2d88d4 MVVM: Backend for binding event. Didn't use the ComponentDelegateBinding because of initialization order is different. Create a new entry in the ViewClass and reuse the binding library to find the delegate property. At editor time, a BP function is gnerated, similar to Complex Conversion function. When the event is broadcast at runtim, the BP function is executed.
The generated function can assign a property value on a viewmodel, a widget or any property of the UserWidget.
#jira UE-166284
#rb editor-ui-systems

[CL 27236611 by patrick boutot in ue5-main branch]
2023-08-21 08:46:45 -04:00
patrick boutot
35862acde5 MVVM: If we are not allowed to add the view, remove all the generated functions added by the view.
#rb none
#jira UE-130879

[CL 26883465 by patrick boutot in ue5-main branch]
2023-08-07 11:10:21 -04:00
patrick boutot
42657bf51b MVVM: Fix conversion function allow test when the graph is a wrapper.
[CL 26870847 by patrick boutot in ue5-main branch]
2023-08-05 11:50:12 -04:00
patrick boutot
ffcc9c9fce MVVM: Add setting to show the View settings.
[CL 26870803 by patrick boutot in ue5-main branch]
2023-08-05 11:47:54 -04:00
patrick boutot
a39450ea32 MVVM: Add flag on viewmodel context to allow edit, remove and rename in the editor.
#rb editor-ui-systems

[CL 26853896 by patrick boutot in ue5-main branch]
2023-08-04 14:01:32 -04:00
patrick boutot
d679e0536e MVVM: Undo modification made to make property blueprintreadonly. Introduced with CL 26845876
#rb trivial

[CL 26848773 by patrick boutot in ue5-main branch]
2023-08-04 11:43:08 -04:00
patrick boutot
b5cd4278b5 MVVM: Fix conversion function with multiples input paths.
Bindings will only be executed once at initialization. The bug happend when more than once source can activate the same binding.
Binding can now be OneWay if at least one argument is a FieldNotify. Otherwise it needs to be a OneTime.
Binding that has hardcoded value, no paths, are now supported.
#rb vincent.gauthier

[CL 26846320 by patrick boutot in ue5-main branch]
2023-08-04 10:49:38 -04:00
patrick boutot
54edf80986 MVVM: Fix bad order in ToString introduced with CL26629088
#rb trivial

[CL 26807157 by patrick boutot in ue5-main branch]
2023-08-03 08:37:59 -04:00
patrick boutot
6113ca1d6b MVVM: Rework how nodes are read and created for complex conversion function.
#rb editor-ui-systems

[CL 26773890 by patrick boutot in ue5-main branch]
2023-08-02 11:15:36 -04:00
patrick boutot
d955ead9f4 MVVM: Fix bad format syntax.
#rnx
#rb trivial

[CL 26769442 by patrick boutot in ue5-main branch]
2023-08-02 09:11:30 -04:00
patrick boutot
c1b001cd61 MVVM: Add UX for view's settings. Seperate bindings initialization and sources initialization. Use can now select if it wants the bindings and the sources to be initialized.
#rb editor-ui-systems

[CL 26715851 by patrick boutot in ue5-main branch]
2023-07-31 14:43:55 -04:00
patrick boutot
4caca31df5 MVVM: Fix bad refactor code introduced with CL 26614337
#jira UE-191378
#rb none

[CL 26652353 by patrick boutot in ue5-main branch]
2023-07-27 16:00:59 -04:00
patrick boutot
f053a1822f Temporary fix for UE-191378. Log an error instead of crashing until we figure out what is going on.
#rnx
#jira UE-191378

[CL 26651228 by patrick boutot in ue5-main branch]
2023-07-27 15:38:11 -04:00
patrick boutot
e86df75535 MVVM: When a conversion function is virtual, reevaluate at runtime the function.
#jira UE-189301
#rb vincent.gauthier

[CL 26629172 by patrick boutot in ue5-main branch]
2023-07-26 20:20:26 -04:00
patrick boutot
4cc085e73a Fix 338325 build issue.
[CL 26629005 by patrick boutot in ue5-main branch]
2023-07-26 20:16:56 -04:00
patrick boutot
b8b7b1e074 MVVM: Add option to generate conversion graph when compiling and not saved in the packages.
Useful when graph cannot be saved.
#jira UE-130879

[CL 26614927 by patrick boutot in ue5-main branch]
2023-07-26 14:04:59 -04:00
patrick boutot
38ce8d67f6 MVVM: Change error message when the field does not exist to include a posible solution to the problem. Test if the field exist on the downcasted struct instead of the previous property owner struct.
#jira UE-189649
#rb vincent.gauthier

[CL 26470072 by patrick boutot in ue5-main branch]
2023-07-19 16:38:38 -04:00
zahra nikbakht
29bb543f70 MVVM: add searchbar for binding view panel
#jira UE-170982
#rb patrick.boutot

[CL 26466746 by zahra nikbakht in ue5-main branch]
2023-07-19 14:35:01 -04:00
patrick boutot
e0e36eb2e5 MVVM: Fix analysis issue. Early returns if we can't evaluate the path.
#rnx

[CL 26100277 by patrick boutot in ue5-main branch]
2023-06-19 15:14:02 -04:00
patrick boutot
96ed2dbc61 MVVM: Save the MemberReference with self context. That allow the path to be used in the skeletal compilation phase.
#rb editor-ui-systems

[CL 26053542 by patrick boutot in ue5-main branch]
2023-06-16 11:26:16 -04:00
patrick boutot
7391a6794f MVVM: Change the displayname of some Viewmodel properties.
#rb editor-ui-systems

[CL 26051658 by patrick boutot in ue5-main branch]
2023-06-16 10:41:42 -04:00
keaton stewart
f31c33bf04 [Backout] - CL25766777 CIS FastCook Error
[FYI] Patrick.Boutot
Original CL Desc
-----------------------------------------------------------------
MVVM: Supports FieldNotify broadcast on BP defined variable.
#rb editor-ui-systems
#preflight 6479ed64d36d33e0e45190c7

[CL 25770631 by keaton stewart in ue5-main branch]
2023-06-02 15:16:58 -04:00
patrick boutot
624d0d37a6 MVVM: Supports FieldNotify broadcast on BP defined variable.
#rb editor-ui-systems
#preflight 6479ed64d36d33e0e45190c7

[CL 25766805 by patrick boutot in ue5-main branch]
2023-06-02 13:33:02 -04:00
patrick boutot
d03f30be38 MVVM: Add the viewmodel tag data to the userwidget generated class. It was present on the blueprint asset but that data is not present in coocked build.
#rb editor-ui-systems
#jira UE-164353
#preflight 646f369c2c0a5da0dc849154

[CL 25644058 by patrick boutot in ue5-main branch]
2023-05-26 11:58:53 -04:00
patrick boutot
aa10b2b6b9 MVVM: Add the Auto ExecutionMode. It will decide at compile time if it should run the binding should be run immediately or delayed. A binding will be run in delay mode if the binding can be triggered from more than one field.
#rb vincent.gauthier
#preflight 646e13201b241f07482943d5, 646f3cb2bf15b1ab007a3d10

[CL 25644056 by patrick boutot in ue5-main branch]
2023-05-26 11:58:47 -04:00