182 Commits

Author SHA1 Message Date
patrick boutot
b646312e1a MVVM: Add setting to show the View settings.
[CL 26870782 by patrick boutot in 5.3 branch]
2023-08-05 11:47:27 -04:00
patrick boutot
5ea06e3951 MVVM: Add flag on viewmodel context to allow edit, remove and rename in the editor.
#rb editor-ui-systems

[CL 26853829 by patrick boutot in 5.3 branch]
2023-08-04 13:59:09 -04:00
patrick boutot
086dff90f1 MVVM: Add viewmodel to the UMG preview mode.
#rb yohann.dossantos

[CL 26744924 by patrick boutot in 5.3 branch]
2023-08-01 13:13:28 -04:00
patrick boutot
a0ab119c05 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 26715781 by patrick boutot in 5.3 branch]
2023-07-31 14:42:30 -04:00
patrick boutot
81e077a7d4 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 26614351 by patrick boutot in 5.3 branch]
2023-07-26 13:51:11 -04:00
zahra nikbakht
01f1ee22a4 MVVM: add searchbar for binding view panel
#jira UE-170982
#rb patrick.boutot
#p4v-cherrypick 26466725

[CL 26555095 by zahra nikbakht in 5.3 branch]
2023-07-24 16:49:52 -04:00
patrick boutot
3aeb76aef3 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 26467804 by patrick boutot in 5.3 branch]
2023-07-19 15:03:01 -04:00
patrick boutot
f7a219685a MVVM: Save the MemberReference with self context. That allow the path to be used in the skeletal compilation phase.
#rb editor-ui-systems

[CL 26058530 by patrick boutot in 5.3 branch]
2023-06-16 12:57:13 -04:00
zahra nikbakht
254629207f Allow property drag-drop support for preview widget.
#rb patrick.boutot
#jira UE-183423

[CL 25984258 by zahra nikbakht in ue5-main branch]
2023-06-14 12:58:50 -04:00
zahra nikbakht
7201e1344f MVVM: drag from viewmodel to Bind widget in the details view to create bindings.
#rb patrick.boutot
#jira UE-183423

[CL 25824946 by zahra nikbakht in ue5-main branch]
2023-06-06 15:17:40 -04:00
zahra nikbakht
8f77189b04 Drag and Drop support for viewmodel fields and widget properties in UMG details panel.
#jira UE-183423
#rb patrick.boutot

[CL 25816817 by zahra nikbakht in ue5-main branch]
2023-06-06 11:06:49 -04:00
patrick boutot
c4770283e9 MVVM: Add in menu extension to viewmodel editor. The Bindings panel is now "MVVM.ViewBindings.Toolbar" and the viewmodel panel is "MVVM.Viewmodels.Toolbar".
#jira UE-164353
#prefligth 647f2c2e6158e3d3209defb5

[CL 25815465 by patrick boutot in ue5-main branch]
2023-06-06 10:15:46 -04:00
patrick boutot
e20f6aee5e MVVM: Support custom pin for complex conversion function.
#b editor-ui-systems
#preflight 6479d462e75a22639175d062

[CL 25758413 by patrick boutot in ue5-main branch]
2023-06-02 08:31:22 -04:00
patrick boutot
2043ca9bff MVVM: Fix order when adding a delegate and removing delegate while a delegate is executing.
#prefligth 647947ac6f48a706660482d4

[CL 25758381 by patrick boutot in ue5-main branch]
2023-06-02 08:29:35 -04:00
patrick boutot
e696a7cb91 MVVM: In View Binding Panel, the "add" button now add the selected widget. The user can use the default behavior, saved in a setting.
#preflight 6479465a5d23eca37dcf107f

[CL 25757708 by patrick boutot in ue5-main branch]
2023-06-02 07:29:30 -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
c8cb81eef1 MVVM: Before deleting a viewmodel, check if the viewmodel is in use. It will check in the bindings and in the conversion functions.
#rb editor-ui-systems
#preflight 6464ec6a2d446eac96cd1746

[CL 25509723 by patrick boutot in ue5-main branch]
2023-05-17 12:34:43 -04:00
patrick boutot
2e9b9d33a1 MVVM: Add test to test removing an element from the FieldNotificationDelegate in a broadcast of the same delegate.
#jira UE-180226
#rb yohann.dossantos
#preflight 646411ff063e77985c437bd5

[CL 25507065 by patrick boutot in ue5-main branch]
2023-05-17 10:33:25 -04:00
kirill zorin
de8db5ff76 Converting ARO-facing raw pointers to TObjectPtr ahead of raw pointer ARO API deprecation.
#rb zousar.shaker
#rb markus.breyer
#rb robert.manuszewski

#preflight 646391406b1406b54ab15460

[CL 25489627 by kirill zorin in ue5-main branch]
2023-05-16 10:52:49 -04:00
patrick boutot
27c009cf08 MVVM: The picker filter conversion function by display name and by keyword.
#preflight 645e89458e01daf0e59f9f3b

[CL 25459266 by patrick boutot in ue5-main branch]
2023-05-12 16:28:45 -04:00
patrick boutot
096c6f634c MVVM: Fix display of getter functions on Conversion function arguments. Source of a binding can now be a widget in the UI.
#jira UE-185599
#preflight 645e3500592448f08b1fef26

[CL 25454521 by patrick boutot in ue5-main branch]
2023-05-12 13:33:28 -04:00
patrick boutot
3aab490c06 MVVM: Refactor the field picker to update when the value changes. The widget creates the widget and only recreate it when the binding changes.
#jira UE-185599, FORT-601296, FORT-575479
#preflight 645cf221aa3c584c0b3f65c5

[CL 25431222 by patrick boutot in ue5-main branch]
2023-05-11 13:28:33 -04:00
patrick boutot
82c490c84f MVVM: Prevent crash with undo or when a binding is removed. The DetailView used to point directly to the binding in the view. WHen the view is modified, the DetailView was pointing to a dangling pointer. Also remove the customizaer because they don't respect the selection rules.
#preflight 645bba73e81da34de94eec52, 645c3bbfcf788a25588affbb

[CL 25425022 by patrick boutot in ue5-main branch]
2023-05-11 08:09:35 -04:00
patrick boutot
46213fe12a MVVM: Reused the same tree and child list if they are available. The key (the sharedptr) is what is kept internally by the TreeView to know where scrolling and which widget are extended.
#rb editor-ui-systems, vincent.gauthier
#preflight 645530f6386cf3c27342589e

[CL 25386503 by patrick boutot in ue5-main branch]
2023-05-09 09:15:32 -04:00
patrick boutot
2602940722 MVVM: Add unittest for FieldNotificationDelegate. Fix bug with Remove that didn't return the correct state of the bindings.
#jira UE-180226
#preflight 644be4b5877716c87807d94e
#preflight 645222a8de5765212276ffec

[CL 25318858 by patrick boutot in ue5-main branch]
2023-05-03 12:28:04 -04:00