Commit Graph

234 Commits

Author SHA1 Message Date
patrick boutot
e9c392e679 MVVM: Add the viewmodal used by the UserWidget in the metadata
#jira UE-170872
#rb sebastian.nordgren
#preflight 638f71097e0feab0b7555610

[CL 23445713 by patrick boutot in ue5-main branch]
2022-12-08 09:06:03 -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
patrick boutot
1ed29a4a8d MVVM: Selection fixes. Can now select the viewmodel self. Fix the reverse complexe function.
#rb sebastian.nordgren
#preflight 6380e372cc307d6fa5a387bb, 6380ea8833774509007f58f5

[CL 23267974 by patrick boutot in ue5-main branch]
2022-11-25 13:55:44 -05:00
sebastian nordgren
73c1172938 MVVM - Field selector clear now works for viewmodel properties.
It was erroneously not clearing if FixedSource wasn't set (ie. a widget field), but the intent was to clear only the path when editing a widget property, and the entire path when editing anything else.

[REVIEW] [at]patrick.boutot
#rnx
#preflight 637df1bdfa348e8480298a71

[CL 23247747 by sebastian nordgren in ue5-main branch]
2022-11-23 07:07:49 -05:00
patrick boutot
707d2e3eb5 MVVM: Fix the binding picker to select property when we are in read mode.
#jira UE-145739
#rb sebastian.nordgren
#preflight 6374f6ee324842530577f387

[CL 23174676 by patrick boutot in ue5-main branch]
2022-11-17 08:20:42 -05:00
patrick boutot
5fb63a6d59 MVVM: Execute Library Binding
#jira UE-132682
#rb sebastian.nordgren

[CL 23069825 by patrick boutot in ue5-main branch]
2022-11-09 21:03:55 -05:00
sebastian nordgren
44ecbee918 MVVM - Added missing transactions.
#rb none
#preflight 63691c11843e6ac7945129a4

[CL 23012684 by sebastian nordgren in ue5-main branch]
2022-11-07 12:09:57 -05:00
sebastian nordgren
9049daead1 MVVM: Field selector now show a tooltip of the full path, and functions show the function signature.
It is possible to show only the last field in a path when space is limited.

[REVIEW] [at]patrick.boutot
#rnx
#preflight 63611c20731604696a0f4e3a

[CL 22919758 by sebastian nordgren in ue5-main branch]
2022-11-02 12:50:43 -04:00
patrick boutot
324bfb142b MVVM: Display the correct name in the detail view for the source and destination property. Use the correct property, as filter, for the mode direction.
#rb sebastien.nordgren

[CL 22802844 by patrick boutot in ue5-main branch]
2022-10-26 22:18:51 -04:00
henrik karlsson
b5b86c796c This change is a strategical submit for a coming change that removes lots of includes in headers that are included by many files. This change contains adding of includes in files that previously got those includes transitively from other inclkudes
#preflight 6355d4940313c24974b2107b
#rb none

[CL 22783162 by henrik karlsson in ue5-main branch]
2022-10-26 12:57:32 -04:00
patrick boutot
c4672ea708 MVVM: ViewModel Panel display all the "notify" properties.
#rb none
[FYI] sebastian.nordgren

[CL 22509556 by patrick boutot in ue5-main branch]
2022-10-13 14:56:44 -04:00
sebastian nordgren
3fdafe9997 MVVM - Replaced all user-facing FStrings with FText. This includes all compiler error messages.
Binding display names now take into account complex conversion functions.

Complex conversion functions now compile correctly.

#rb patrick.boutot
#rnx
#preflight 633ebda6d910a076839e3ddf
#preflight 633ec514a712a61df1354aec

[CL 22388782 by sebastian nordgren in ue5-main branch]
2022-10-06 20:08:12 -04:00
sebastian nordgren
dd8a8abeb6 MVVM - Field selector can now display long paths, eg. Slot > Margin > Left.
Field selector now maintains conversion function selection after searching.

#rb patrick.boutot
#rnx
#preflight 633eb382d910a076839a324b

[CL 22388757 by sebastian nordgren in ue5-main branch]
2022-10-06 20:07:21 -04:00
sebastian nordgren
1fb1577293 MVVM - Bindings now have a GUID for identification purposes instead of using the index.
Display name is now more readable when conversion functions are involved.

Moved some conversion function code from MVVMEditorSubsystem to ConversionFunctionHelper so that it can be reused in the compiler.

#rb patrick.boutot
#rnx
#preflight 633d7020164ef40c2e3f308d

[CL 22362227 by sebastian nordgren in ue5-main branch]
2022-10-05 16:05:24 -04:00
sebastian nordgren
0ea0e80d62 MVVM - It is now possible to delete bindings by pressing Delete in the Bindings view.
Added missing Binding Mode tooltip.

[REVIEW] [at]patrick.boutot
#rnx
#preflight 633c256df91bb7615bc333eb

[CL 22331014 by sebastian nordgren in ue5-main branch]
2022-10-04 11:05:35 -04:00
sebastian nordgren
d1d3c1f6b9 MVVM - Details panel is now initially collapsed.
#rb trivial
#rnx
#preflight 633ae131ef77394565030de3

[CL 22322160 by sebastian nordgren in ue5-main branch]
2022-10-03 20:36:01 -04:00
bryan sefcik
50d4fac9e0 Updated ../Engine/Plugins/... to inline gen.cpp files
Before:
3548 unity files
Total CPU Time: 47343.578125 s
Total time in Parallel executor: 494.60 seconds

After:
3445 unity files
Total CPU Time: 46044.671875 s
Total time in Parallel executor: 468.51 seconds

#jira
#preflight 63336159b20e73a098b7f24f

[CL 22218213 by bryan sefcik in ue5-main branch]
2022-09-28 01:06:15 -04:00
sebastian nordgren
88b9e3139e MVVM - SFieldSelector now displays conversion functions for widget properties again.
Conversion function entries are now sorted.

Conversion function categories display how many functions are inside of them.

The current selection of the field is now correctly displayed in the menu.

[REVIEW] [at]patrick.boutot
#rnx
#preflight 6331b14cd747fe52c8a10e65

[CL 22191652 by sebastian nordgren in ue5-main branch]
2022-09-26 15:15:38 -04:00
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