Commit Graph

252 Commits

Author SHA1 Message Date
zahra nikbakht
cb2a943bcb MVVM: Extension improvements:
Support undo/redo
Support copy/paste
Add setting for supported widget types
#rb patrick.boutot

[CL 33102960 by zahra nikbakht in ue5-main branch]
2024-04-19 10:53:00 -04:00
zahra nikbakht
414291a73e MVVM: add an extension to panel widgets to define entry classes for them and allow binding the generated entries to an array of viewmodels
#rb patrick.boutot

[CL 32933358 by zahra nikbakht in ue5-main branch]
2024-04-12 12:24:08 -04:00
zahra nikbakht
1bd1c64fc1 MVVM: create a ListViewBase extension to support selecting an entry viewmodel and assigning them to entry widgets at runtime.
#rb patrick.boutot

[CL 32364945 by zahra nikbakht in ue5-main branch]
2024-03-20 10:11:43 -04:00
zahra nikbakht
7f230554ca MVVM: support view extensions for injecting MVVM-specific data to widgets.
#patrick.boutot
#rb Patrick.Boutot

[CL 32341457 by zahra nikbakht in ue5-main branch]
2024-03-19 18:05:51 -04:00
patrick boutot
b48842aa7a MVVM: Evalute the bindings automatically when the source is set but the value didn't changed. That is a global option and an option on the viewmodel definition itself.
Change the category of MVVMDeveloperProjectSettings.
Fix bug in customization, the bCreateSetter flag was set but never propagated to the copied object.
#jira UE-209383
#rb editor-ui-systems

[CL 32242163 by patrick boutot in ue5-main branch]
2024-03-14 08:07:46 -04:00
alex thomson
ba8cc99617 MVVM / UEFN: in UEFN, allow MVVM conversion functions to be used.
#rnx
#rb Graham.Lewis, Patrick.Boutot

[CL 32154927 by alex thomson in ue5-main branch]
2024-03-11 10:57:54 -04:00
patrick boutot
97f39a99cb MVVM: Fix GetReturn value that returns an invalid property in the MVVM context. There is only one none const out param or a property mark as the return type. That is to prevent unintended mistakes with argument ordering.
#jira UE-200604
#rb yohann.dossantos

[CL 32152299 by patrick boutot in ue5-main branch]
2024-03-11 08:20:13 -04:00
patrick boutot
259878c511 MVVM: Add an option to auto update the view's viewmodel when it's creation context is the global viewmodel collection. The viewmodel can be added/remove/modified from the global viewmodel collection at anytime and it will update the view.
#jira UE-208792
#rb editor-ui-systems

[CL 31991059 by patrick boutot in ue5-main branch]
2024-03-04 12:09:48 -05:00
patrick boutot
15c0d7f642 MVVM: Add Conversion Function Library.
The functions are collected when on module load and when the BP class compiles. A function can be a Node. The BP registry do not collect all function types, like opcode functions. This library collects K2_Node and all function types supported by MVVM.
#jira UE-201164, UE-190393
#rb daren.cheng

[CL 31987162 by patrick boutot in ue5-main branch]
2024-03-04 09:12:29 -05:00
patrick boutot
0de814afb9 Add option to filter the resolver to only returns the viewmodel desired class.
#jira UE-207188
#rb yohann.dossantos

[CL 31795278 by patrick boutot in ue5-main branch]
2024-02-25 21:26:40 -05:00
christopher waters
15bede992d Entire engine compiling with -DisableUnity -IncludeHeaders
[CL 31778133 by christopher waters in ue5-main branch]
2024-02-23 16:51:32 -05:00
zahra nikbakht
58ee7f4dd0 MVVM: add customization for property paths and conversion functions of bindings in the details panel
#jira UE-205044
#rb patrick.boutot

[CL 31485951 by zahra nikbakht in ue5-main branch]
2024-02-14 14:03:50 -05:00
mikko mononen
f543d8078b PropertyAccessEditor: Added BindingChain to OnCanBindProperty.
[CL 31465565 by mikko mononen in ue5-main branch]
2024-02-14 07:07:33 -05:00
zahra nikbakht
f5757057d6 MVVM: Add a message to the empty binding panel to act as a starting tip
#jira UE-202317
#rb patrick.boutot

[CL 31218405 by zahra nikbakht in ue5-main branch]
2024-02-06 12:10:03 -05:00
zahra nikbakht
651e0be15b MVVM: add tooltips for different fields of a binding in the binding panel.
#jira UE-204914
#rb patrick.boutot

[CL 31217934 by zahra nikbakht in ue5-main branch]
2024-02-06 11:57:28 -05:00
patrick boutot
d6010b615c MVVM: Fix editor that show the field list when the source is not yet valid. Introduced with CL28965726
#rb yohann.dossantos, zahra.nikbakht

[CL 30861632 by patrick boutot in ue5-main branch]
2024-01-24 16:16:19 -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