Commit Graph

123 Commits

Author SHA1 Message Date
logan buchy
481f65f87d [Backout] - CL36411617
[FYI] logan.buchy
Original CL Desc
-----------------------------------------------------------------
Make EditConditions work for customized properties

* This change systemically allows customized properties to use the EditConditions UPROPERTY meta specifier.
* This was specifically requested for FGuid as it's details panel representation is implemented as a customization at the engine level

#rb aditya.ravichandran

[CL 36753080 by logan buchy in 5.5 branch]
2024-10-01 18:47:32 -04:00
logan buchy
8e912454bd Make EditConditions work for customized properties
* This change systemically allows customized properties to use the EditConditions UPROPERTY meta specifier.
* This was specifically requested for FGuid as it's details panel representation is implemented as a customization at the engine level

#rb aditya.ravichandran

[CL 36455794 by logan buchy in 5.5 branch]
2024-09-19 18:18:01 -04:00
thomas sarkanen
957cd6635b Property Editor: Added support custom reset to default to IDetailPropertyRow/FDetailWidgetRow
Allows details customizations to override the widget on a per-property basis

#rb logan.buchy
[RN] Added support custom reset to default to IDetailPropertyRow/FDetailWidgetRow

[CL 35891405 by thomas sarkanen in ue5-main branch]
2024-08-29 04:23:46 -04:00
mikko mononen
da0eb0d357 Details Panel: Added missing null check when getting IDetailPropertyChildrenCustomizationHandler.
[CL 33720793 by mikko mononen in ue5-main branch]
2024-05-17 08:14:01 -04:00
mikko mononen
29eaed59d1 Introduced IDetailPropertyChildrenCustomizationHandler - a way to customize properties children in a DetailsView (contributed)
[CL 33717035 by mikko mononen in ue5-main branch]
2024-05-17 04:09:39 -04:00
ben hoffman
bfe8da0019 Struct Utils: Add Property Type Customization support for Instanced Structs
#rb Mikko.Mononen, logan.buchy
#jira none

#ushell-cherrypick of 32823955 by kristof.morva1

new pf 6622aaf6684c0e6f582a4f22

[CL 33110930 by ben hoffman in ue5-main branch]
2024-04-19 14:37:05 -04:00
ben hoffman
7a2b193113 [Backout] - CL32829316
Original CL Desc
-----------------------------------------------------------------
Struct Utils: Add Property Type Customization support for Instanced Structs

#rb Mikko.Mononen, logan.buchy
#jira none

#ushell-cherrypick of 32823955 by kristof.morva1

[CL 32929256 by ben hoffman in ue5-main branch]
2024-04-12 10:33:07 -04:00
ben hoffman
a1fa05d87a Struct Utils: Add Property Type Customization support for Instanced Structs
#rb Mikko.Mononen, logan.buchy
#jira none

#ushell-cherrypick of 32823955 by kristof.morva1

[CL 32829316 by ben hoffman in ue5-main branch]
2024-04-09 12:27:05 -04:00
jeanmichel dignard
eb6d746103 Details panel - Fixed perf regression when searching:
- Filter against the filter text directly instead of getting the widget row and filtering against it. This way, we don't create the widgets just to do text filtering.
#rb brooke.hubert
#jira UE-210779

[CL 32579671 by jeanmichel dignard in ue5-main branch]
2024-03-28 11:39:46 -04:00
jeanmichel dignard
e5fd55f477 Details Customization:
- Add support for filter string on property node rows, as we have for custom widget rows and custom builder rows
- Added a filter string on Mobility and SmartObjectDefinitionRef
#rb brooke.hubert, logan.buchy
#jira UE-210267

[CL 32407930 by jeanmichel dignard in ue5-main branch]
2024-03-21 14:37:38 -04:00
david bromberg
846a0e8f68 Slate: Add ability to customize details for 'edit-inline' instanced UObjects. This is locked behind 'AllowEditInlineCustomization' property metadata.
[REVIEW] [at]ue-sequencer, [at]matt.kuhlenschmidt
[FYI] [at]charles.lefebvre, [at]guillaume.arruda
#rb charles.lefebvre

[CL 32213279 by david bromberg in ue5-main branch]
2024-03-13 10:38:53 -04:00
jaime cifuentes
b3ce79a786 Added customization support to properties added as external objects/structs
Also, added the processing of ShouldHideRootObjectNode at DetailCategoryBuilder and DetailPropertyRow

#rb logan.buchy

[CL 31639548 by jaime cifuentes in ue5-main branch]
2024-02-20 03:12:08 -05:00
sebastian arleryd
524cf4a661 Use MakeShared instead of MakeSharable to reduce number of allocations
#jira UE-205934
#rb ronald.koppers

[CL 31512706 by sebastian arleryd in ue5-main branch]
2024-02-15 03:18:44 -05:00
mike zyracki
9c8acb1685 Property Editor: Add getting the expansion state for a detail property row, which is needed in the following jira so we can show/hide widgets based upon expansion state. Also need to get the property row from the root nodes so added function to detail layout to do that.
#jira UE-200125
#rb Max.Chen

[CL 30958370 by mike zyracki in ue5-main branch]
2024-01-27 23:01:11 -05:00
huw bowles
acda5231f2 Patch fix for a consistent crash from Details panel code when selecting actors in level. Author of related code contacted to discuss.
[FYI] jared.cotton
#rb huw.bowles

[CL 30233028 by huw bowles in ue5-main branch]
2023-12-11 05:19:11 -05:00
jared cotton
b6aa506f02 SOL-5617 - "The editor UI for [at]editable optionals does not respect property type customization"
- if we encounter a set option in `FDetailPropertyRow` we use its value instead. This allows for cusomizations to just 'work' without any special handling for options.
    - Note: There is some case-handling to ensure the display name is still the options rather than the values.

[CL 30214987 by jared cotton in ue5-main branch]
2023-12-08 13:18:12 -05:00
jaime cifuentes
6a8c54d0f8 Added structure data provider interface support to the details category builder.
#rb karen.jirak, mikko.mononen
#jira UE-199675

[CL 29860506 by jaime cifuentes in ue5-main branch]
2023-11-21 03:55:17 -05:00
charles lefebvre
e6d1258b95 Fix external objects collapsing on edit
#rb karen.jirak
#tests Tested in PIE
[FYI] jamie.dale

[CL 29847387 by charles lefebvre in ue5-main branch]
2023-11-20 14:22:17 -05:00
josh may
9c91b803c3 Added a way to define EditConditionHides behavior for FDetailPropertyRows with custom EditConditions defined.
- Added EditConditionHides interface method to IDetailPropertyRow (and corresponding implementation in FDetailPropertyRow). This serves as a counterpart for the existing EditCondition interface method exposed for defining custom edit conditions on manually created FDetailPropertyRows.

[CL 29689177 by josh may in ue5-main branch]
2023-11-13 13:28:23 -05:00
karen jirak
edb517056d Customizations that use FDetailPropertyRow::CustomWidget and set the visibility attribute do not honor it
Customizations that use the "CustomWidget" call on the FDetailPropertyRow are not being added to the tickable nodes for the details panel for the visibility to be reassessed, and the tick function is what checks and updates the visibility attribute. To fix:

* In DetailItemNode.cpp,  check to see if it has a CustomPropertyWidget for the row  and if it does, then add it to the tickable nodes

* In  FDetailPropertyRow::GetPropertyVisibility() ensure to update the visibility based on the custom widget

#jira UE-199425
#rb Brooke.Hubert

[CL 29531220 by karen jirak in ue5-main branch]
2023-11-07 15:41:40 -05:00
jaime cifuentes
85274caae6 Added single struct property support to PropertyEditor
Integrated OOM issue fix from [at]benoit.gadreau when building a single struct property

#rb karen.jirak, benoit.gadreau, mikko.mononen
#jira UE-198466, UE-198749

[CL 29274176 by jaime cifuentes in ue5-main branch]
2023-10-31 10:18:53 -04:00
jordan hoffmann
6f13ccfe68 [PerfFix] Diff algorithm was constructing widgets unintentionally when attempting to get property handles from the DetailCategoryBuilder
#rb matt.kuhlenschmidt

[CL 26615791 by jordan hoffmann in ue5-main branch]
2023-07-26 14:30:46 -04:00
George Rolfe
5e0cea2325 PropertyEditor category based copy/paste
#jira UE-154146
#jira UE-184925
#rb karen.jirak
#preflight 647165ac5152deaa101230f2

[CL 25658027 by George Rolfe in ue5-main branch]
2023-05-26 22:34:43 -04:00
lauren barnes
94e45bab42 [Backout] - CL24860754
[FYI] alex.kahn
Original CL Desc
-----------------------------------------------------------------
[Backout] - CL24859089 - CIS Compile Error part 2
[FYI] Lauren.Barnes
Original CL Desc
-----------------------------------------------------------------
Copy and paste on a details row containing an asset picker will now go through the SPropertyEditorAsset paste first.
#jira UE-181542
#preflight 6425a77450546ea33640c424
#rb Matt.Kuhlenschmidt

[CL 24871532 by lauren barnes in ue5-main branch]
2023-03-31 10:59:51 -04:00
alex kahn
93c376610c [Backout] - CL24859089 - CIS Compile Error part 2
[FYI] Lauren.Barnes
Original CL Desc
-----------------------------------------------------------------
Copy and paste on a details row containing an asset picker will now go through the SPropertyEditorAsset paste first.
#jira UE-181542
#preflight 6425a77450546ea33640c424
#rb Matt.Kuhlenschmidt

[CL 24867877 by alex kahn in ue5-main branch]
2023-03-31 02:44:06 -04:00