Commit Graph

71 Commits

Author SHA1 Message Date
sebastian nordgren
fab14d01e8 MVVM - The visibility of the details panel in the Bindings panel is now togglable.
[REVIEW] [at]patrick.boutot
#rnx
#preflight 633195bab4515b7e22b6429d

[CL 22188623 by sebastian nordgren in ue5-main branch]
2022-09-26 13:33:49 -04:00
sebastian nordgren
fbca9e3e99 Added missing FMemMark.
#rb patrick.boutot
#rnx

[CL 22188395 by sebastian nordgren in ue5-main branch]
2022-09-26 13:23:43 -04:00
sebastian nordgren
168fa49b33 CIS fix. Added parentheses to disambiguate "&& inside ||" as reported by Clang.
#rb trivial
#rnx

[CL 22188372 by sebastian nordgren in ue5-main branch]
2022-09-26 13:22:53 -04:00
sebastian nordgren
26b9a3e58c MVVM - Added SSourceBindingList::SetSelectedProperty().
Renamed SSourceBindingList::Clear() to ClearSources().

[REVIEW] [at]patrick.boutot
#rnx

[CL 22188337 by sebastian nordgren in ue5-main branch]
2022-09-26 13:21:29 -04:00
patrick boutot
bf56fd9f4f MVVM: Use WeakObjectPtr to save UObject reference. Display the widget current slot properties. Confirm that the selected property can be assign or read before returning it. Created project setting. Filter property that can be display in the FieldSelector.
#rb sebastian.nordren
#preflight 632b6876e23e50651bf79d06, 632df2c7d51603c54898b28b

[CL 22165378 by patrick boutot in ue5-main branch]
2022-09-23 20:46:19 -04:00
sebastian nordgren
955918a4c3 MVVM - Simple conversion functions do not allow you to enter a single hardcoded value into the function parameter anymore.
[REVIEW] [at]patrick.boutot
#rnx
#preflight 632d735be23e50651b7ff147

[CL 22163625 by sebastian nordgren in ue5-main branch]
2022-09-23 20:02:08 -04:00
sebastian nordgren
1b7a5c4bd3 MVVM - Function parameters of simple conversion functions no longer clear their property.
#rb patrick.boutot
#rnx

[CL 22118988 by sebastian nordgren in ue5-main branch]
2022-09-21 14:41:39 -04:00
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
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
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
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
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
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
sebastian nordgren
b44ed08af0 MVVM - Added widget clipping to SMVVMFieldEntry and SMVVMSourceEntry.
#rb trivial
[FYI] patrick.boutot
#rnx

#ROBOMERGE-AUTHOR: sebastian.nordgren
#ROBOMERGE-SOURCE: CL 21108772 via CL 21108797 via CL 21108812
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21110296 by sebastian nordgren in ue5-main branch]
2022-07-15 10:49:39 -04:00
sebastian nordgren
d365e30402 MVVM - Made the FViewModelFilter class viewer filter from MVVMSelectViewModel.h public so it can be reused elsewhere.
Removed unnecessary cast to SClassViewer when it can be exposed as just SWidget.

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

#ROBOMERGE-AUTHOR: sebastian.nordgren
#ROBOMERGE-SOURCE: CL 21108762 via CL 21108773 via CL 21108788
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21110284 by sebastian nordgren in ue5-main branch]
2022-07-15 10:49:17 -04:00