Commit Graph

512 Commits

Author SHA1 Message Date
zahra nikbakht
fb317e089f MVVM Extension: allow extensions to add widgets as variables via MVVM compiler
#rb patrick.boutot

[CL 33417266 by zahra nikbakht in ue5-main branch]
2024-05-02 19:52:49 -04:00
patrick boutot
b7f233a385 [Backout] - CL33402680
[FYI] Patrick.Boutot
Original CL Desc
-----------------------------------------------------------------
MVVM: Hide autogenerated function from the picker. Rename old function before creating a new one. That could be reproduced by selecting multiple conversion function on the same binding.
#jira UE-211315, UE-211315
#rb editor-ui-systems

[CL 33403573 by patrick boutot in ue5-main branch]
2024-05-02 14:14:14 -04:00
patrick boutot
f8d108c01b MVVM: Hide autogenerated function from the picker. Rename old function before creating a new one. That could be reproduced by selecting multiple conversion function on the same binding.
#jira UE-211315, UE-211315
#rb editor-ui-systems

[CL 33403157 by patrick boutot in ue5-main branch]
2024-05-02 14:03:27 -04:00
patrick boutot
354a79c632 MVVM: Fix customization extender that didn't check if the extension was of the correct type.
#rb zahra.nikbakht

[CL 33371723 by patrick boutot in ue5-main branch]
2024-05-01 09:55:52 -04:00
patrick boutot
a2b5613488 Slate: Deprecate SListView::ItemHeight and STreeViewItemHeight. ItemHeight and ItemWidth are only used when the panel is is as a tile or both value are assigned. With TreeView and ListView, you can't assigned both. The function are protected, a subclass of those could but it's up to them to expose the ItemHeight and ItemWidth. This behavior changed was introduced with CL 7634094.
#jira UE-210415
#rb editor-ui-systems

[CL 33370360 by patrick boutot in ue5-main branch]
2024-05-01 08:05:39 -04:00
patrick boutot
6445e4e840 MVVM: Add tag and name to handle added by extender.
#rb graham.lewis, zahra.nikbakht

[CL 33333947 by patrick boutot in ue5-main branch]
2024-04-30 08:29:17 -04:00
patrick boutot
24977a7a73 MVVM: Modification to support extension on the view instance. The class/shared version has the option to create isntance data. The class extension receives that instance and can ack on it. Modified the Panel to create an property of the instance.
#rb daren.cheng
[FYI] Zahra.Nikbakht

[CL 33274421 by patrick boutot in ue5-main branch]
2024-04-26 15:38:33 -04:00
steve robb
92463911c8 Fixed mismatched printf format arguments.
#rb brandon.schaefer

[CL 33264801 by steve robb in ue5-main branch]
2024-04-26 11:02:47 -04:00
patrick boutot
2d9bf4fb13 [Backout] - CL33260840
[FYI] Patrick.Boutot
Original CL Desc
-----------------------------------------------------------------
MVVM: Modification to support extension on the view instance. The class/shared version has the option to create isntance data. The class extension receives that instance and can ack on it. Modified the Panel to create an property of the instance.
#rb daren.cheng
[FYI] Zahra.Nikbakht

#virtualized

[CL 33263652 by patrick boutot in ue5-main branch]
2024-04-26 10:18:50 -04:00
patrick boutot
f86558f8a4 MVVM: Modification to support extension on the view instance. The class/shared version has the option to create isntance data. The class extension receives that instance and can ack on it. Modified the Panel to create an property of the instance.
#rb daren.cheng
[FYI] Zahra.Nikbakht

#virtualized

[CL 33261674 by patrick boutot in ue5-main branch]
2024-04-26 09:03:03 -04:00
graham lewis
3d3537da55 Fixed array index going out of bounds in UMVVMViewPanelWidgetExtension::ReplaceAllSlots.
[REVIEW] [at]editor-ui-systems, [at]chris.gagnon
#rnx
#rb Patrick.Boutot

[CL 33233418 by graham lewis in ue5-main branch]
2024-04-25 11:48:49 -04:00
zahra nikbakht
4085b4f0e4 MVVM Extension: Fix issue with multiple instances of the same userwidget sharing the same extension objects at runtime.
We make a copy of extensions from the ViewClass in each View so that Views don't invoke the extensions directly on the class.
#rb vincent.gauthier

[CL 33119230 by zahra nikbakht in ue5-main branch]
2024-04-19 17:58:44 -04:00
ben hoffman
b108aceefd MVVM: Fix warning "Failed to read file '../../../Engine/Plugins/Runtime/ModelViewViewModel/Content/Editor/Common/ButtonHoverHint.png'"
#rb patrick.boutot
#jira none

#ushell-cherrypick of 32972715 by kristof.morva1

[CL 33113622 by ben hoffman in ue5-main branch]
2024-04-19 15:39:35 -04:00
zahra nikbakht
cb2a943bcb MVVM: Extension improvements:
Support undo/redo
Support copy/paste
Add setting for supported widget types
#rb patrick.boutot

[CL 33102960 by zahra nikbakht in ue5-main branch]
2024-04-19 10:53:00 -04:00
zahra nikbakht
414291a73e MVVM: add an extension to panel widgets to define entry classes for them and allow binding the generated entries to an array of viewmodels
#rb patrick.boutot

[CL 32933358 by zahra nikbakht in ue5-main branch]
2024-04-12 12:24:08 -04:00
patrick boutot
1371ff3f59 MVVM: Deprecated the ViewModelBlueprintGeneratedClass.
#rb yohann.dossantos

[CL 32925603 by patrick boutot in ue5-main branch]
2024-04-12 07:13:39 -04:00
patrick boutot
7f64c2c677 MVVM: Widget property created by the view compilation are private. The user can create them public with the "As Variable" option.
#rb zahra.nikbakht

[CL 32904496 by patrick boutot in ue5-main branch]
2024-04-11 16:02:01 -04:00
patrick boutot
6ecdd32cde MVVM: Fix function and property filtering on the generated bp class (userwidget).
#jira UE-211193
#rb daren.cheng, zahra.nikbakht

[CL 32669776 by patrick boutot in ue5-main branch]
2024-04-02 12:09:27 -04:00
patrick boutot
1182daf407 MVVM: Fix crashes when the application closes and the binding subsystem is no longer available.
#rb yohann.dossantos, zahra.nikbakht

[CL 32433759 by patrick boutot in ue5-main branch]
2024-03-22 10:42:29 -04:00
vincent gauthier
b4ef20eac2 Fix to variable initialization.
#jira UE-210320

#rb vincent.gauthier

[CL 32431621 by vincent gauthier in ue5-main branch]
2024-03-22 09:22:45 -04:00
zahra nikbakht
1bd1c64fc1 MVVM: create a ListViewBase extension to support selecting an entry viewmodel and assigning them to entry widgets at runtime.
#rb patrick.boutot

[CL 32364945 by zahra nikbakht in ue5-main branch]
2024-03-20 10:11:43 -04:00
zahra nikbakht
c36e1dc095 MVVM: Move static class member definition into translation unit.
[CL 32345585 by zahra nikbakht in ue5-main branch]
2024-03-19 20:05:36 -04:00
zahra nikbakht
7f230554ca MVVM: support view extensions for injecting MVVM-specific data to widgets.
#patrick.boutot
#rb Patrick.Boutot

[CL 32341457 by zahra nikbakht in ue5-main branch]
2024-03-19 18:05:51 -04:00
patrick boutot
20491811d1 MVVM: Parse the property path that start with "self" to check if it actually start with a widet or a viewmodel.
#jira UE-209786
#rb yohann.dossantos

[CL 32323727 by patrick boutot in ue5-main branch]
2024-03-19 09:36:32 -04:00
patrick boutot
14bfac7129 MVVM: In project settings allow the abstract class for the class picker.
#jira UE-190393
#rb editor-ui-systems

[CL 32321529 by patrick boutot in ue5-main branch]
2024-03-19 07:04:45 -04:00