Commit Graph

109 Commits

Author SHA1 Message Date
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
patrick boutot
bc181cb231 MVVM: Rename MVVMBlueprintViewBinding.ViewModelPath and WidgetPath to SourePath and DestinationPath. Historicly they were named that way because it made sense to bind grom viewmodel to a widget. Now we can bind from any property to any property. We renamed to remove the confusion.
#test MVVM asset in QAGame
#rb Yohann.DosSantos
#preflight 64089d788c0039bbf73e80d8

[CL 24574634 by patrick boutot in ue5-main branch]
2023-03-09 08:41:28 -05:00
ronald koppers
6f5addd262 Renamed PropertyEditorPermissionList to PropertyPermissionList.
#preflight 63fd04f5c35a14198011368b
#rb Rex.Hill

[CL 24432348 by ronald koppers in ue5-main branch]
2023-02-27 16:27:44 -05:00
patrick boutot
1e1d7865c6 MVVM: Fix access to private UFunction with AllowPrivateAccess.
Fix the IsBindingValid error message that do not include the full property type.
Fix field picker that do not show function when there is no filter.
Support array of object binding (the same way BP does).
#jira UE-164316
#preflight 63ee4b41b5262f41ae2f7594, 63ee50a43c1eb56f052d3b64

[CL 24292264 by patrick boutot in ue5-main branch]
2023-02-17 17:10:33 -05:00
patrick boutot
e8291c18bd MVVM: Veriry the allowed list when picking a property/function from the field selector.
#jira
#preflight 63e6975bf8244e55a4bab8ed

[CL 24173369 by patrick boutot in ue5-main branch]
2023-02-13 08:39:55 -05:00
patrick boutot
2758a900b9 MVVM: Rename ViewModelResolver to ViewModelContextResolver
#jira UE-171160
#preflight 63e67449bd38b4c5cbe7374e

[CL 24136977 by patrick boutot in ue5-main branch]
2023-02-11 12:38:02 -05:00
patrick boutot
213eb80530 MVVM: Allow picking selecting an abstract class in as the viewmodal in UMG View but you are not able to create an instance.
Add a new way to select the viewmodel uses by the UMG View. User can extend the Resolver and can implement their own logic.
#jira UE-171160
#rb devan.england, sebatian.nordgren
#preflight 63e412003c44c83044e73fe4

[CL 24100372 by patrick boutot in ue5-main branch]
2023-02-09 12:14:47 -05:00
patrick boutot
aa9a64a17f MVVM: Add customization for Viewmodel context. Add picker for the propertypath.
#rb sebastian.nordgren
#preflight 63e2a6ae9910415ae2016818

[CL 24061758 by patrick boutot in ue5-main branch]
2023-02-07 17:51:50 -05:00
patrick boutot
98102a7ef3 MVVM: Test the function as regular conversion function and complex to get the property type.
#jira UE-175677

[CL 24044260 by patrick boutot in ue5-main branch]
2023-02-06 21:44:10 -05:00
patrick boutot
f9a847ada3 MVVM: Remove old and unused widgets.
#preflight 63da5dc58505ea6b1ff9b8af

[CL 23948415 by patrick boutot in ue5-main branch]
2023-02-01 10:34:45 -05:00
patrick boutot
eeb3c16fca MVVM: Add a allowed ExecutionMode list.
Move GlobalCollection to GameInstance subsystem.
Rename category from MVVM to Viewmodel.
#preflight 63d5e0bcba4fadeef09bdfc2

[CL 23927160 by patrick boutot in ue5-main branch]
2023-01-31 10:21:03 -05:00
henrik karlsson
9a1d5b1ad4 [Engine/Plugins]
* Ran IWYU on ~170 plugins to remove includes not needed. Public api still keep old includes inside #if UE_ENABLE_INCLUDE_ORDER_DEPRECATED_IN_5_2

#preflight 63d09351574ab9cae4670216
#rb none

[CL 23844750 by henrik karlsson in ue5-main branch]
2023-01-25 02:42:36 -05:00
patrick boutot
b54ff37589 MVVM: Use the class display name in the select viewmodel menu.
[REVIEW] sebastian.nordgren

[CL 23814940 by patrick boutot in ue5-main branch]
2023-01-23 12:20:36 -05:00
sebastian nordgren
eccc28e691 Fixed static analysis warning about null Pin in SMVVMFunctionParameter.cpp.
#rb trivial
#preflight 63ce752ed83c1837b1182cc0

[CL 23809665 by sebastian nordgren in ue5-main branch]
2023-01-23 07:08:46 -05:00
patrick boutot
8b0766ff17 MVVM: Fix bad access to raw pointer.
#rb sebastian.nordgren

[CL 23774542 by patrick boutot in ue5-main branch]
2023-01-19 11:26:11 -05:00
patrick boutot
7e65cc6c27 MVVM: New binding mode SVG icons for the View Model plugin.
- One Time / One Way
- One Time / One Way to Source
- One Time / Two Way
[REVIEW] sebastian.nordgren

[CL 23747997 by patrick boutot in ue5-main branch]
2023-01-17 18:39:34 -05:00
sebastian nordgren
aecc8e2db4 MVVM: Toggling the Bind button on a function parameter now restores the previously selected field instead of clearing it.
Non-boolean function parameters now have a dark background. Booleans are displayed as checkboxes and don't scale to the minimum width, so adding the background for them looks bad.

Tested in Bindings view with a conversion function: bind to viewmodel property, toggle binding off, toggle binding back on again. Observe that the viewmodel property is still bound.

[REVIEW] [at]patrick.boutot
#preflight 63c1519d70575f890029a3a6

[CL 23741270 by sebastian nordgren in ue5-main branch]
2023-01-17 13:15:03 -05:00
henrik karlsson
68e1306935 [Engine/Plugins]
* Removed more includes using iwyu and marked up includes that is removed because of bugs in iwyu.

#preflight 63bfc8696c4f5668eb3a3cbd
#rb none

[CL 23666746 by henrik karlsson in ue5-main branch]
2023-01-12 13:53:03 -05:00
henrik karlsson
2f78497e67 [Engine/Plugins]
* Updated private files with IWYU for all plugins which had 3 or less changes made in ue5 main since last integration to fn

#preflight 63bf8d8b577437afe607dc72
#rb none

[CL 23659643 by henrik karlsson in ue5-main branch]
2023-01-12 01:48:34 -05:00
sebastian nordgren
e5621ab993 MVVM - Added new borders to Bindings view as per design.
[REVIEW] patrick.boutot
#rnx

[CL 23651687 by sebastian nordgren in ue5-main branch]
2023-01-11 14:45:52 -05:00
patrick boutot
d26ab4f46c MVVM: Make static function in MVVMSubsystem for faster access.
#rb sebastian.nordgren
#preflight 63973a35c709c727562393af

[CL 23499920 by patrick boutot in ue5-main branch]
2022-12-13 18:20:11 -05:00
patrick boutot
a85ebb6aea MVVM: Add the BindingType icon in front of the binding for the MVVM view.
#rb sebastian.nordgren
#preflight 6389090f976b1644cb146b26

[CL 23389842 by patrick boutot in ue5-main branch]
2022-12-05 09:16:59 -05:00