Commit Graph

73 Commits

Author SHA1 Message Date
frank fella
93da4f3c70 Property Editor - Update the IDetailTreeNode to expose initial expansion information which can be set through customizations so that uses of the property row generator can access that data consistently.
#rb lauren.barnes

#ROBOMERGE-AUTHOR: frank.fella
#ROBOMERGE-SOURCE: CL 18423580 in //UE5/Release-5.0/... via CL 18423606
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v897-18405271)

[CL 18423632 by frank fella in ue5-release-engine-test branch]
2021-12-09 15:12:40 -05:00
Marc Audy
0c3be2b6ad Merge Release-Engine-Staging to Test @ CL# 18240298
[CL 18241953 by Marc Audy in ue5-release-engine-test branch]
2021-11-18 14:37:34 -05:00
aurel cordonnier
a12d56ff31 Merge from Release-Engine-Staging @ 17791557 to Release-Engine-Test
This represents UE4/Main @17774255, Release-5.0 @17791557 and Dev-PerfTest @17789485

[CL 17794212 by aurel cordonnier in ue5-release-engine-test branch]
2021-10-12 21:21:22 -04:00
sebastian nordgren
5b669b5b87 Moved SDetailCategoryTableRow into its own file instead of hiding in DetailCategoryGroupNode.
#rb paul.chipchase
#preflight 6135cb4a4f2c7c0001e65bf4

#ROBOMERGE-AUTHOR: sebastian.nordgren
#ROBOMERGE-SOURCE: CL 17437158 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v870-17433530)

[CL 17437174 by sebastian nordgren in ue5-release-engine-test branch]
2021-09-06 05:48:26 -04:00
sebastian nordgren
427c03f8cb The IsEnabled() attribute of FDetailPropertyRows and FDetailWidgetRows is now correctly used.
#jira UE-118847
#rb lauren.barnes
#preflight 6130a707f09c6e00015db076

#ROBOMERGE-SOURCE: CL 17403168 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v865-17346139)

[CL 17403204 by sebastian nordgren in ue5-release-engine-test branch]
2021-09-02 10:42:32 -04:00
sebastian nordgren
394e3fcc62 Added FDetailsViewConfig to store various details view settings, using the new EditorConfig system.
Renamed FDetailFilter properties to be consistent with one another.

#review-16449481 @lauren.barnes

[CL 16468647 by sebastian nordgren in ue5-main branch]
2021-05-26 09:46:13 -04:00
aurel cordonnier
8eebe8841f Merge UE5/RET @ 16305968 to UE5/Main
This represents UE4/Main @ 16261013 and Dev-PerfTest @ 16259937

[CL 16306996 by aurel cordonnier in ue5-main branch]
2021-05-12 18:10:03 -04:00
UnrealBot
8afb476248 Branch snapshot for CL 16260158
[CL 16260158 in ue5-release-engine-staging branch]
2021-10-05 20:06:24 +00:00
sebastian nordgren
d315282ff8 Resubmitting IsPropertyVisible and IsCustomRowVisible (originally submitted in 16122954) with additional changes to ensure FPropertyAndParent cannot contain a null pointer inside an FProperty&.
#rb paul.chipchase
#jira UE-96790

[CL 16183986 by sebastian nordgren in ue5-main branch]
2021-05-03 10:38:37 -04:00
sebastian nordgren
584a143f23 Reverting changes in CL 16122954 due to crash in Frosty.
#rb trivial

[CL 16128301 by sebastian nordgren in ue5-main branch]
2021-04-27 11:38:59 -04:00
sebastian nordgren
fceff9d65e The SDetailsViewBase::IsPropertyVisible and IsCustomRowVisible delegates are now applied correctly. IsCustomRowVisible is now used for all things that are not properties.
This fixes the bugs of CategoriesToShow and PropertiesToShow not being respected in UMG details views.

#jira UE-96790
#review-16115377 @lauren.barnes
#preflight 6086e9eb3938bf0001ea30e6

[CL 16122954 by sebastian nordgren in ue5-main branch]
2021-04-27 06:44:36 -04:00
sebastian nordgren
b76e5da50c Missed change.
[CL 16073462 by sebastian nordgren in ue5-main branch]
2021-04-21 10:41:55 -04:00
sebastian nordgren
039605ce82 Renamed bShowOnlyDiffering to bShowOnlyWhitelisted - that it's only used for diffing is a detail that the details view shouldn't know about.
#rb paul.chipchase

[CL 16073432 by sebastian nordgren in ue5-main branch]
2021-04-21 10:40:13 -04:00
Patrick Boutot
383815f480 Slate: Convert SWidget's Enabled and Visibility flag to SlateAttribute.
#jira UE-106515, UE-112897
#rb vincent.gauthier
#preflight 606f3fcd97c8220001315871
#preflight 60749a870adbfb0001f0455c

[CL 15982898 by Patrick Boutot in ue5-main branch]
2021-04-12 16:13:38 -04:00
Lauren Barnes
80415ea0f3 Fix for custom builders with no children being collapsed
#jira UE-112031
#rb Nick.Darnell
#fyi Sebastian.Nordgren

[CL 15815163 by Lauren Barnes in ue5-main branch]
2021-03-24 22:21:40 -04:00
sebastian nordgren
a7739c5df1 Added SetIsCustomRowReadOnlyDelegate to enable customizing the read-only state of custom rows en-masse.
Removed SetIsCustomRowVisibilityFilteredDelegate, because it was unused and needlessly complex since the delegate that you pass into SetIsCustomRowVisibleDelegate can run the same logic and early out.

Category and property filtering through Properties To Show and Categories to Show now works properly.The problem was that visiblity was only considered once on creation and then never again.

#jira UE-88178
#review-15797106 @lauren.barnes
#preflight 605b2381c77fb000015e6a30

[CL 15797104 by sebastian nordgren in ue5-main branch]
2021-03-24 08:16:16 -04:00
sebastian nordgren
7326eca802 FDetailItemNode now also checks if the IsEnabled attribute IsSet() and not just IsBound() in GenerateStandaloneWidget().
[at]lauren.barnes

#ROBOMERGE-SOURCE: CL 15406946 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v771-15082668)

[CL 15406955 by sebastian nordgren in ue5-main branch]
2021-02-15 11:16:07 -04:00
Marc Audy
bc88b73a29 Merge Release-Engine-Staging to Main @ CL# 15151250
Represents UE4/Main @ 15133763

[CL 15158774 by Marc Audy in ue5-main branch]
2021-01-21 16:22:06 -04:00
sebastian nordgren
cb9d74805f Niagara edit conditions for property rows have been restored, eg. the checkbox for Fixed Bounds.
#jira UE-103853
#rb lauren.barnes

[CL 14842824 by sebastian nordgren in ue5-main branch]
2020-12-03 06:05:06 -04:00
sebastian nordgren
a5aa9eaf47 Inner categories (produced by eg. instanced UObjects) now correctly indent.
Moved SDetailRowIndent and SConstrainedBox to their own files. Created SDetailExpanderArrow widget so that it can be reused in categories and groups.

#b lauren.barnes

[CL 14827369 by sebastian nordgren in ue5-main branch]
2020-12-01 07:52:47 -04:00
Matt Kuhlenschmidt
cd51bbaa63 Rework per-platform properties to make better use of the space in the details panel. Now each override is a separate tree node and all overrides can be viewed by expanding the property row
[CL 14764265 by Matt Kuhlenschmidt in ue5-main branch]
2020-11-17 12:45:35 -04:00
sebastian nordgren
5050b88330 Details view reskin phase 1.
The details view now displays gridlines between rows, and now has 4 columns - edit condition, name, value, and reset/extensions.

Edit condition widgets are now created in SDetailSingleItemRow and are placed in their own fixed column on the left of the details view. FEditConditionParser is now in FPropertyNode rather FPropertyEditor, which allows access to it more broadly - notably in SDetailSingleItemRow.

The Reset to Default SWidget can no longer be replaced - the logic for it being visible and a handler for when it is pressed is still customizable. SPropertyEditorAsset no longer has a special slot for the reset to default widget.

All extension widgets are now placed in a resizable column on the right of the panel, including the Keyframe button.

FDetailColumnSizeData is now publicly exposed by IDetailsView, and is no longer passed around as much.

#rb matt.kuhlenschmidt

[CL 14375859 by sebastian nordgren in ue5-main branch]
2020-09-23 08:16:20 -04:00
Lauren Barnes
a447fb8d56 Moving FDetailColumnSizeData to PropertyCustomizationHelpers to allow access by other modules. Removed duplicated versions of the struct.
#rb Matt.Kuhlenschmidt
#jira none

[CL 14273909 by Lauren Barnes in ue5-main branch]
2020-09-08 16:00:10 -04:00
Marc Audy
a7c9001a94 Merging //UE5/Release-Engine-Staging to Main (//UE5/Main) @ 14075166
#rb
#rnx

[CL 14075271 by Marc Audy in ue5-main branch]
2020-08-11 01:36:57 -04:00
Marc Audy
11f5b21210 Merging //UE5/Release-Engine-Staging @ 13752110 to Main (//UE5/Main)
#rnx

[CL 13753156 by Marc Audy in ue5-main branch]
2020-06-23 18:40:00 -04:00