Commit Graph

48 Commits

Author SHA1 Message Date
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
8e4f5e6887 MVVM - Widgets without an explicit display name override are now displayed properly in the compile error log.
#rb trivial
#rnx
#preflight 63691c14d0174259ccd68041

[CL 23012905 by sebastian nordgren in ue5-main branch]
2022-11-07 12:24:30 -05:00
patrick boutot
f7f8f1b31c MVVM: Saving binding id.
#rb sebastian.nordgren
#preflight 63592875555771b141c78656

[CL 22802866 by patrick boutot in ue5-main branch]
2022-10-26 22:19:39 -04:00
Patrick Boutot
cab5cb46a5 MVVM: Set the category on the generated widget property with the cagetory sent by the user.
#preflight 6346fd96663dafe4163a2b44

[CL 22482825 by Patrick Boutot in ue5-main branch]
2022-10-12 14:35:36 -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
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
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
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
patrick boutot
8919ba1c0d MVVM: Fix ViewModel name in IMPLEMENT_MODULE. It prevented the module to be loaded in cooked build.
#rb rex.hill
#rnx

[CL 22105133 by patrick boutot in ue5-main branch]
2022-09-20 19:24:01 -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
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
78d7697cb4 MVVM: Fix remove graph function by moving it to the transient pacakge.
#preflight 62d9f0ea3122bf80ae1ee586

[CL 21212997 by Patrick Boutot in ue5-main branch]
2022-07-21 20:41:57 -04:00
Patrick Boutot
65f39ee67f MVVM: Renamed variables for View Compiler. The indexes was confusing.
#preflight 62d991f03122bf80ae091b83

[CL 21204992 by Patrick Boutot in ue5-main branch]
2022-07-21 14:19:45 -04:00
Patrick Boutot
9618684983 MVVM: Create helper function to find all the PropertyPath use by a graph.
#review-21201965 sebastian.nordgren
#preflight 62d97797bc175ec68c7ca7f8

[CL 21203122 by Patrick Boutot in ue5-main branch]
2022-07-21 12:35:25 -04:00
Patrick Boutot
fc4418c410 MVVM: Fix view compiler that uses the same conversion function for forward and backward binding.
#review-21201833 sebastian.nordgren
#preflight 62d977223122bf80ae015b99

[CL 21202499 by Patrick Boutot in ue5-main branch]
2022-07-21 12:13:57 -04:00
Patrick Boutot
2d4bd9b8ce MVVM: Add "Optional" on viewmodel context to prevent logging warning when the viewmodel is not set and that it's optional.
#review-21184624 sebastian.nordgren
#preflight 62d813754b6d775f5fa770ca

[CL 21184623 by Patrick Boutot in ue5-main branch]
2022-07-20 13:37:40 -04:00
patrick boutot
d8956d00d0 MVVM: Work in progress for viewmodel in viewmodel
#rb sebatian.nordgren

#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 21045209 via CL 21045498 via CL 21045763
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21075357 by patrick boutot in ue5-main branch]
2022-07-13 13:52:41 -04:00
patrick boutot
7a499cf935 MVVM: Use the viewmodel name instead of the class name. Create the menu to add a viewmodel. Use a UClass of any class at implement the NotifyFieldValue interface in BlueprintViewModelContext instead a ViewModelBase class.
#rb sebastien.nordgren
#preflight 62bc45213771c5710de91653

#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 20874026 via CL 20881496 via CL 20881723
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v971-20777995)

[CL 20885743 by patrick boutot in ue5-main branch]
2022-06-29 19:00:59 -04:00
sebastian nordgren
7812dbb0d2 Fixed static analysis warning about potentially null UBlueprintView*.
#jira UE-157830
[REVIEW] [at]vincent.gauthier
#rnx

#ROBOMERGE-AUTHOR: sebastian.nordgren
#ROBOMERGE-SOURCE: CL 20871525 via CL 20880386 via CL 20880495
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v971-20777995)

[CL 20885605 by sebastian nordgren in ue5-main branch]
2022-06-29 18:57:48 -04:00
patrick boutot
2cbd1c0d98 MVVM: Remove FMVVMBlueprintViewModelContext::OverrideDisplayName and replace it by the ViewModelName as a FName.
#jira UE-155919
#rb sebastian.nordgren

#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 20857721 via CL 20857726 via CL 20857739
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v971-20777995)

[CL 20870270 by patrick boutot in ue5-main branch]
2022-06-29 01:01:28 -04:00
sebastian nordgren
9be8b88d94 Fixing build failure caused by missed cpp that somehow passed preflight.
#rnx

#ROBOMERGE-AUTHOR: sebastian.nordgren
#ROBOMERGE-SOURCE: CL 20835270 via CL 20836832 via CL 20837096
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v971-20777995)

[CL 20838773 by sebastian nordgren in ue5-main branch]
2022-06-27 16:24:51 -04:00
sebastian nordgren
3a3f846e36 MVVM: Setting a conversion function with multiple arguments now generates a FunctionGraph in the widget blueprint that is used to call the function, which allows us to bind multiple properties to conversion functions.
Removed IFieldPathHelper. The functionality was moved to the editor subsystem, which made the abstraction unnecessary and unavailable to blueprint.

FBindingSource no longer contains the IsSelected member. This was very context-specific, and doesn't really make sense in the general case.

[REVIEW] [at]patrick.boutot
#jira UE-145128
#rnx
#preflight 62b9c947e77151e5996f3f36

#ROBOMERGE-OWNER: sebastian.nordgren
#ROBOMERGE-AUTHOR: sebastian.nordgren
#ROBOMERGE-SOURCE: CL 20833893 via CL 20836430 via CL 20836446
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v971-20777995)

[CL 20838757 by sebastian nordgren in ue5-main branch]
2022-06-27 16:24:02 -04:00