Commit Graph

234 Commits

Author SHA1 Message Date
patrick boutot
9609b38905 MVVM: Add BP binding event to Viewmodel. Fix FieldVariant::IsEmpty now check if the pointer is nullptr (the function or property is not valid anymore). GetAvailableConversionFunctions now check for the widget parent class.
#rb sebastian.nordgren

[CL 22084831 by patrick boutot in ue5-main branch]
2022-09-19 19:56:19 -04:00
sebastian nordgren
952dbf828e MVVM - Field selector now displays valid conversion functions in the same dropdown menu as properties.
#jira UE-161689
[REVIEW] [at]patrick.boutot
#rnx
#preflight 63243e003752284a31722a6a

[CL 22050372 by sebastian nordgren in ue5-main branch]
2022-09-16 11:36:30 -04:00
sebastian nordgren
1f1ebd7b0b CIS - Fixed SMVVMFunctionParameter::OnSelectionChanged() taking a value instead of a const& due to changes in SMVVMFieldSelector which haven't gone in yet.
#rb trivial
#rnx

[CL 22039954 by sebastian nordgren in ue5-main branch]
2022-09-15 18:08:02 -04:00
sebastian nordgren
dc0b62bd17 CIS - Fixed SMVVMFunctionParameter calling OnFieldSelectionChanged, which has not yet been submitted.
#rb trivial
#rnx

[CL 22039943 by sebastian nordgren in ue5-main branch]
2022-09-15 18:06:54 -04:00
sebastian nordgren
acad8958a0 Removed fully commented-out MVVMPropertyAccess files.
#rb patrick.boutot
#rnx
#preflight 63231d8a5d5184f71e32f6e5

[CL 22039915 by sebastian nordgren in ue5-main branch]
2022-09-15 18:05:42 -04:00
sebastian nordgren
e53b08b744 MVVM - SFunctionParameter now correctly handles simple conversion function arguments.
#jira UE-161689
#rb patrick.boutot
#rnx
#preflight 632318455d5184f71e317233

[CL 22039904 by sebastian nordgren in ue5-main branch]
2022-09-15 18:05:15 -04:00
sebastian nordgren
2a7abd1c45 MVVM - Editor subsystem now correctly handles calls for simple conversion functions that don't create a wrapper UEdGraph.
#jira UE-161689
[REVIEW] [at]patrick.boutot
#rnx
#preflight 6323188ae872d7da0394014c

[CL 22039890 by sebastian nordgren in ue5-main branch]
2022-09-15 18:04:15 -04:00
sebastian nordgren
a24fc2361a Missed new files from previous submit.
#jira UE-161689
#rb patrick.boutot
#rnx

[CL 21862827 by sebastian nordgren in ue5-main branch]
2022-09-07 17:15:14 -04:00
sebastian nordgren
e819de4be2 MVVM - Conversion function parameters are now displayed in the Bindings list below the relevant binding.
Numerous pieces of UI polish: tooltips, padding, colours and wording.

#jira UE-161689
[REVIEW] [at]patrick.boutot
#rnx
#preflight 63186056ab25bb91f51784b8

[CL 21862821 by sebastian nordgren in ue5-main branch]
2022-09-07 17:14:59 -04:00
sebastian nordgren
bee255413f MVVM - SMVVMSourceEntry now displays the property type in the tooltip.
#jira UE-161689
[REVIEW] [at]patrick.boutot
#rnx

[CL 21862763 by sebastian nordgren in ue5-main branch]
2022-09-07 17:13:10 -04:00
sebastian nordgren
bc6b68d5bd MVVM - Added FindConversionFunctionArgumentPin() and GetConversionFunction() methods to UMVVMEditorSubsystem.
[REVIEW] [at]patrick.boutot
#rnx
#jira UE-161689
#preflight 631750a3da63cdf170ef3bc2

[CL 21862755 by sebastian nordgren in ue5-main branch]
2022-09-07 17:13:03 -04:00
sebastian nordgren
01e4fb76dc MVVM - Added a warning into the Bindings panel when you have no viewmodels created.
Bindings details panel is hidden unless there are bindings created.

[REVIEW] [at]patrick.boutot
#jira UE-161689
#rnx
#preflight 63175118032bd43d86464724

[CL 21827337 by sebastian nordgren in ue5-main branch]
2022-09-06 15:44:13 -04:00
patrick boutot
0ffec4acc3 MVVM: Fix looping compilation. When only the skeletal is compiled, no GC is called to destroyed the temporary objects.
#rb sebastian.nordgren
#preflight 630653d6c744dac9672cbf70

[CL 21572244 by patrick boutot in ue5-main branch]
2022-08-25 16:53:16 -04:00
Patrick Boutot
deb4338cda MVVM: Compile complex conversion functon and execute them as a regular binding.
#rb sebastian.nordgren
#prefligh 63062f5c5366f61a42bced80

[CL 21544671 by Patrick Boutot in ue5-main branch]
2022-08-24 13:14:51 -04:00
Patrick Boutot
1022bd41a2 Move function from the MVVM editor module to the blueprint compiler module.
#preflight 62da87adac71f3a225a75336

[CL 21219105 by Patrick Boutot in ue5-main branch]
2022-07-22 07:39:25 -04:00
Patrick Boutot
c0b3b1cac5 MVVM: Fix bad call to UFunction::GetReturnProperty. Fix BP function to not be editable (for now).
#preflight 62d944914b6d775f5fe4361b

[CL 21200295 by Patrick Boutot in ue5-main branch]
2022-07-21 09:52:31 -04:00
Patrick Boutot
010f9c505e MVVM: Fix binding unit test
#rb none
#preflight none

[CL 21184644 by Patrick Boutot in ue5-main branch]
2022-07-20 13:38:40 -04:00
Patrick Boutot
2397d532c0 MVVM: Update the Binding panel to use the editor subsytem. Fix the "dock" drawer. Remove the "use viewmodel" step.
#review-21184559 sebastian.nordgren
#preflight 2d834924b6d775f5fac0ff0

[CL 21184557 by Patrick Boutot in ue5-main branch]
2022-07-20 13:34:35 -04:00
Patrick Boutot
38e2c926b3 MVVM: Update the ViewModelBase SetProperty to support replication.
#review-21162977 sebastian.nordgren
#jira none
#preflight 62d7f367185da2495fface15

[CL 21178129 by Patrick Boutot in ue5-main branch]
2022-07-20 08:58:07 -04:00
Patrick Boutot
736d4b85fa MVVM: Add the rename and delete option to the viewmodel panel.
#review-21160712 sebastian.nordgren
#jira none
#preflight 62d679d0d76ea4b5031b57f1

[CL 21160710 by Patrick Boutot in ue5-main branch]
2022-07-19 07:54:42 -04:00
Patrick Boutot
551bb89270 Fix bad variable initialization introduced with CL. Fix the issue 194729
#rnx
#rb sebastian.nordgren
#preflight none

[CL 21159998 by Patrick Boutot in ue5-main branch]
2022-07-19 05:37:22 -04:00
sebastian nordgren
7b0eb4ae43 MVVM - SSourceSelector now displays the widget hierarchy view for widgets.
#jira UE-158306
[REVIEW] [at]patrick.boutot
#rnx
#preflight 62d174c93c3df3239042a737

#ROBOMERGE-AUTHOR: sebastian.nordgren
#ROBOMERGE-SOURCE: CL 21110778 via CL 21111461 via CL 21111789
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21142326 by sebastian nordgren in ue5-main branch]
2022-07-17 22:38:12 -04:00
sebastian nordgren
721f3dbc72 MVVM - Added InitialSource to SSourceBindingsList.
[REVIEW] [at]patrick.boutot
#jira UE-158306
#rnx
#preflight 62d174333c3df3239041f819

#ROBOMERGE-AUTHOR: sebastian.nordgren
#ROBOMERGE-SOURCE: CL 21110675 via CL 21110735 via CL 21111248
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21142314 by sebastian nordgren in ue5-main branch]
2022-07-17 22:37:46 -04:00
sebastian nordgren
fbd0013520 MVVM - Bindings list changed to tree view as per latest design.
SMVVMViewBindingsListView is now UE::MVVM::SBindingsList.

FBindingEntry now can represent either a widget or a binding row, which generate an SWidgetRow or SBindingRow depending on which is set.

[REVIEW] [at]patrick.boutot
#jira UE-158306
#rnx
#preflight 62d173e5a6141b6adf41edc9

#ROBOMERGE-AUTHOR: sebastian.nordgren
#ROBOMERGE-SOURCE: CL 21110652 via CL 21110729 via CL 21111242
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21142313 by sebastian nordgren in ue5-main branch]
2022-07-17 22:37:36 -04:00
sebastian nordgren
5bea130cd3 MVVM - Field selector is now a split pane viewer with viewmodels/widgets on the left and properties on the right.
[REVIEW] [at]patrick.boutot
#rnx
#preflight 62d1732c7e1c26dcd717af24

#ROBOMERGE-AUTHOR: sebastian.nordgren
#ROBOMERGE-SOURCE: CL 21109721 via CL 21109731 via CL 21109837
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21111897 by sebastian nordgren in ue5-main branch]
2022-07-15 12:22:30 -04:00