130 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
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
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
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
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
jamie dale
933348f856 Use the FMessageDialog overloads that pass the optional title by-value
#jira
#rb none
#rnx

[CL 25062589 by jamie dale in ue5-main branch]
2023-04-15 19:49:32 -04:00
zahra nikbakht
f6c07441c6 Disable/enable context filtering in MVVM binding creation through project settings or a temporary checkbox
#preflight 641c89d9a86ae7cbcce4dae3
#rb patrick.boutot
#jira UE-180197

[CL 24766690 by zahra nikbakht in ue5-main branch]
2023-03-23 15:27:54 -04:00
zahra nikbakht
4ef62bb887 Commit name change in MVVM viewmodel panel when focus is lost.
#preflight 641c65b1c42c7fd1cb4b6485
#jira none
#rb patrick.boutot

[CL 24762101 by zahra nikbakht in ue5-main branch]
2023-03-23 11:08:19 -04:00
zahra nikbakht
e206fdedb6 - Move the list of messages (errors, warnings, info) from the bindings themselves to the owning viewmodel.
- Add a border on each MVVM binding row in the list view of bindings that changes color to red/yellow if there is any error/warning for that binding
- detect if a property is bound to both a MVVM binding and a legacy binding at the same time and add a warning for it.
#jira UE-170983
#jira UE-170403
#rb patrick.boutot, vincent.gauthier
#preflight 6414c614ca2afe3ee6b1c7c8

[CL 24695764 by zahra nikbakht in ue5-main branch]
2023-03-17 16:33:42 -04:00
patrick boutot
2c2fa3761b MVVM: Add a global option to allow viewmodel setter function. This prevent the validation for object /Script/CoreUObject.Function.
Add an option to show the detail view in the binding panel. This prevent the bad memory access in the customizer used by a the binding panel.
#preflight 640b5c260e1f02786bff27f5

[CL 24603096 by patrick boutot in ue5-main branch]
2023-03-10 23:20:09 -05:00