Commit Graph

37 Commits

Author SHA1 Message Date
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
4f51da0292 Deleting cpp that erroneously ended up in Public folder.
#rnx

#ROBOMERGE-AUTHOR: sebastian.nordgren
#ROBOMERGE-SOURCE: CL 20836198 via CL 20836960 via CL 20837137
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v971-20777995)

[CL 20838785 by sebastian nordgren in ue5-main branch]
2022-06-27 16:25:11 -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
patrick boutot
ca3eb26f53 MVVM: Fix crash when a field is renamed after the path was created.
#rb sebastian.nordgren
#prefligh 62a0a61ae820a589df465387

#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 20557185 via CL 20557206 via CL 20557218
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v954-20466795)

[CL 20559714 by patrick boutot in ue5-main branch]
2022-06-08 13:25:42 -04:00
sebastian nordgren
f034b4cf33 MVVM - FMVVMBlueprintPropertyPath can now be stored in containers due to added GetTypeHash() and list type traits override.
[REVIEW] [at]patrick.boutot
#rnx
#preflight 62a07b8f3f2a47521b7c46e5

#ROBOMERGE-AUTHOR: sebastian.nordgren
#ROBOMERGE-SOURCE: CL 20554699 via CL 20554714 via CL 20554735
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v954-20466795)

[CL 20559549 by sebastian nordgren in ue5-main branch]
2022-06-08 13:19:34 -04:00
sebastian nordgren
0bb09d9457 MVVM - Removed unnecessary API tags from FunctionGraphHelper.
[REVIEW] [at]patrick.boutot
#rnx

#ROBOMERGE-AUTHOR: sebastian.nordgren
#ROBOMERGE-SOURCE: CL 20554691 via CL 20554704 via CL 20554730
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v954-20466795)

[CL 20559543 by sebastian nordgren in ue5-main branch]
2022-06-08 13:19:20 -04:00
patrick boutot
37fce7d953 MVVM: First draft of the viewmodel panel.
#rb sebastian.nordren

#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 20488825 via CL 20488833 via CL 20488842
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v954-20466795)

[CL 20490633 by patrick boutot in ue5-main branch]
2022-06-03 14:47:48 -04:00
patrick boutot
0051f8228b MVVM: Fix for range loop bind to temporary constructed type.
#rb none
#rnx none

#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 20364466 via CL 20364472 via CL 20364475
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v949-20362246)

[CL 20366301 by patrick boutot in ue5-main branch]
2022-05-25 12:09:47 -04:00
patrick boutot
a22ebd3b60 MVVM: Generate full path for Object property. It now load properly and support downcast.
#rb sebastian.nordgren
#prefligh 628cd4005665463c2104be4b

#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 20362934 via CL 20362942 via CL 20362944
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v949-20362246)

[CL 20366217 by patrick boutot in ue5-main branch]
2022-05-25 12:07:51 -04:00
sebastian nordgren
35fe208abe MVVM: Added transactions and property chain notifications to SMVVMViewBindingListEntryRow.
#jira UE-145128
[REVIEW] [at]patrick.boutot, [at]vincent.gauthier
#rnx
#preflight 62877376286cf1867a460c97

#ROBOMERGE-AUTHOR: sebastian.nordgren
#ROBOMERGE-SOURCE: CL 20294192 via CL 20294679 via CL 20294841
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v948-20297126)

[CL 20305133 by sebastian nordgren in ue5-main branch]
2022-05-20 18:54:53 -04:00
sebastian nordgren
15e617f2aa MVVM: Removed FMVVMViewModelPropertyPath and FMVVMWidgetPropertyPath in favour of FMVVMBlueprintPropertyPath.
[REVIEW] [at]patrick.boutot
#jira UE-145128
#rnx
#preflight 6287737b1e478b95c703f783

#ROBOMERGE-AUTHOR: sebastian.nordgren
#ROBOMERGE-SOURCE: CL 20293477 via CL 20293498 via CL 20293511
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v948-20297126)

[CL 20305090 by sebastian nordgren in ue5-main branch]
2022-05-20 18:54:05 -04:00
eric mcdaniel
ee48cd8262 Fix for uninitialized script variable FMVVMBlueprintPropertyPathBase::EBindingKind
#rb none
#jira none, CIS encountered
#preflight 62857fb9f239239af6ba4301
#rnx

[CL 20271209 by eric mcdaniel in ue5-main branch]
2022-05-18 19:30:02 -04:00
patrick boutot
5a5731c6b4 MVVM: Remove test code introduced with CL 20259322
[FYI] sebastian.nordgren

#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 20259838 via CL 20259880 via CL 20259885
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20263003 by patrick boutot in ue5-main branch]
2022-05-18 12:55:05 -04:00
patrick boutot
7b72708573 MVVM: Fix bug in ViewModelBlueprint: the function graph are removed correctly and the we now use the blueprintsetter.
#rb sebastian.nordren

#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 20259332 via CL 20259333 via CL 20259334
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20262976 by patrick boutot in ue5-main branch]
2022-05-18 12:54:21 -04:00
patrick boutot
38b2f19b88 MVVM: Blueprint Path can now support long path. A deprecation path exist. The compiler was modified to support long path. A ViewModelCreator is generated for Manual, this allow the setter to works in standalone.
#rb sebastian.nordgren

#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 20259322 via CL 20259326 via CL 20259331
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20262972 by patrick boutot in ue5-main branch]
2022-05-18 12:54:12 -04:00
patrick boutot
02c1565203 MVVM: Use a native function to set a property on the viewmodel.
#rb sebastian.nordgren
#preflight 627bcb932d67896030144c3d

#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 20167493 via CL 20167503 via CL 20167511
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20168560 by patrick boutot in ue5-main branch]
2022-05-12 14:55:19 -04:00
sebastian nordgren
1828823aea MVVM - Removed unnecessary SetBindingReference() overload.
[REVIEW] [at]vincent.gauthier, [at]patrick.boutot
#jira UE-147743
#preflight 62690d6d4c09420241070e76
#rnx

#ROBOMERGE-AUTHOR: sebastian.nordgren
#ROBOMERGE-SOURCE: CL 20165329 via CL 20165339 via CL 20165348
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20167597 by sebastian nordgren in ue5-main branch]
2022-05-12 13:58:05 -04:00
patrick boutot
99e021c9de MVVM: Add add EMVVMBlueprintViewModelContextCreationType::Manual. An option for how to create/select a view model.
Rename a graph temporary function when the compiler didn't requested a GC at the end of the compilation.
#rb sebastian.nordgren

#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 20106550 via CL 20107643 via CL 20108182
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20110552 by patrick boutot in ue5-main branch]
2022-05-09 16:35:28 -04:00
patrick boutot
cfe2d6be17 MVVM: Convert function path to member reference. Use the proper function skel class when compiling the conversion function.
#rb vincent.gauthier
#prelfight 6273eb01de15651eeb3547de

#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 20059860 via CL 20059875 via CL 20059885
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20062060 by patrick boutot in ue5-main branch]
2022-05-05 14:31:09 -04:00
eric mcdaniel
1c6e278160 Fix for uninitialized script struct member causing validation failure on QAGame cook
- default FMVVMPropertyPathBase::BindingKind to Function to pass validation test AttemptToFindUninitializedScriptStructMembers

- testing
  - BCR of Win64 QAGame locally

#rb none, trivial
#jira UE-151201
#preflight 62740ff1fd59d6606efbfc16

[CL 20061256 by eric mcdaniel in ue5-main branch]
2022-05-05 14:11:44 -04:00
sebastian nordgren
2301e39ae9 MVVM - Fixes to compiler error messages.
[REVIEW] [at]vincent.gauthier, [at]patrick.boutot
#jira UE-145736

#ROBOMERGE-AUTHOR: sebastian.nordgren
#ROBOMERGE-SOURCE: CL 19937262 via CL 19937283 via CL 19937304
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 19938019 by sebastian nordgren in ue5-main branch]
2022-04-27 08:52:49 -04:00
sebastian nordgren
a9201fd96c MVVM - Invalid error message that complains about duplicate setter functions no longer triggers.
[REVIEW] [at]vincent.gauthier, [at]patrick.boutot
#jira UE-145736
#preflight 62690d794c09420241070ee6

#ROBOMERGE-AUTHOR: sebastian.nordgren
#ROBOMERGE-SOURCE: CL 19937258 via CL 19937276 via CL 19937300
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 19938018 by sebastian nordgren in ue5-main branch]
2022-04-27 08:52:41 -04:00