Commit Graph

99 Commits

Author SHA1 Message Date
Phillip Kavan
dfa32e9708 Extends the class viewer module to support multiple custom class filters along with an optional associated view option flag.
Additional changes:
- Deprecates the previous method for specifying a singular custom class viewer filter and updates all existing occurrences of this pattern in engine code.
- Extends the property editor utilities interface to expose custom class filter(s) that can be applied to the class picker widget used for editing class property values.
- Adds an implementation of this interface to SDetailsView such that additional class filter(s) can now be configured to be applied to all underlying class property nodes.

#jira UE-108316
#rb Lauren.Barnes
#preflight 60c2102e8ae8960001110d50

[CL 16623084 by Phillip Kavan in ue5-main branch]
2021-06-10 10:31:37 -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
50944fd712 Merge UE5/RES @ 16162155 to UE5/Main
This represents UE4/Main @ 16130047 and Dev-PerfTest @ 16126156

[CL 16163576 by aurel cordonnier in ue5-main branch]
2021-04-29 19:32:06 -04:00
sebastian nordgren
1aa985e2ea Fixed crash when unfavoriting favorited custom builder rows from the Favorites category.
Custom builders now store the original path they were added from. This crash happened because the favorited custom builder row was resolving to "Favorites.BuilderName", rather than the "Category.BuilderName" that was stored. They were still unfavoriteable from the original location.

#jira UE-112962
#review-16074796 @lauren.barnes
#preflight 608144471bee350001a158c3

[CL 16091496 by sebastian nordgren in ue5-main branch]
2021-04-22 06:19:39 -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
sebastian nordgren
67e26c20fa SDetailsView now listens to the FEditorDelegates::PostUndoRedo event and invalidates any cached state on its property nodes. This causes the Reset to Default buttons to refresh.
#jira UE-63606

[CL 15887898 by sebastian nordgren in ue5-main branch]
2021-04-01 08:30:16 -04:00
sebastian nordgren
6d625d8bcb Added code for favoriting custom builders.
Also added code for favoriting groups, but this currently isn't enabled work since header widgets suffer from the same problem as custom widget rows do - their SWidget is created in place rather than through a function call, so thus cannot be duplicated. This needs some more thought, but the code for storing them is the same either way.

#jira UE-109586
#rb lauren.barnes

[CL 15802120 by sebastian nordgren in ue5-main branch]
2021-03-24 12:54:49 -04:00
sebastian nordgren
942790ba61 FDetailsViewArgs::RightColumnMinWidth property added to allow different views to customize how much space is reserved for the right column.
FDetailsViewArgs::ColumnWidth is now respected.

#rb paul.chipchase

[CL 15777079 by sebastian nordgren in ue5-main branch]
2021-03-23 10:55:02 -04:00
matt kuhlenschmidt
4bfdee2616 Fix redundant usage of styles related to various "favorites" systems
#ROBOMERGE-SOURCE: CL 15734285 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v781-15675533)

[CL 15737079 by matt kuhlenschmidt in ue5-main branch]
2021-03-18 08:38:28 -04:00
jamie dale
b2caa4eb19 Allow the detail view header to prioritize showing actors or components, while still showing all objects as a fallback
#rb Brooke.Hubert

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

[CL 15502662 by jamie dale in ue5-main branch]
2021-02-23 14:04:08 -04:00
jamie dale
107f7b0f0c Audited use of FDetailsViewArgs::ObjectsUseNameArea
CL# 15481362 changed the behavior of ObjectsUseNameArea so that the object name was visible, and upon auditing the current use of ObjectsUseNameArea it was found that all but a few cases likely intended to use HideNameArea instead.

Breaking: This change also renames FDetailsViewArgs::bShowActorLabel to FDetailsViewArgs::bShowObjectLabel to reflect what it actually does.

#rb Brooke.Hubert

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

[CL 15496134 by jamie dale in ue5-main branch]
2021-02-22 19:45:57 -04:00
sebastian nordgren
f9e7ede411 Details view drop shadow is correctly hidden when nothing is selected.
#rb trivial
[FYI] lauren.barnes

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

[CL 15472111 by sebastian nordgren in ue5-main branch]
2021-02-19 11:50:31 -04:00
sebastian nordgren
5473739869 Added Toggle Favorites button to toggle the visibility of the Favorites category in details panels that use Favorites.
Added drop shadow below the details search box.

#rb lauren.barnes

[CL 15453298 by sebastian nordgren in ue5-main branch]
2021-02-18 12:01:14 -04:00
Matt Kuhlenschmidt
0d7ec5c722 Temp fix for slider properties in blueprints not working. Comment out some code thats not working yet that came over from UE4.
#rb nick.darnell

[CL 15208928 by Matt Kuhlenschmidt in ue5-main branch]
2021-01-26 13:00:55 -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
Louise Rasmussen
e96422024e Updated Style Colors - replaced "Background" Color with "Panel" Color and updated "Background" Color to be dark base
#rb matt.kuhlenschmidt

[CL 15013052 by Louise Rasmussen in ue5-main branch]
2021-01-07 14:20:25 -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
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
Matt Kuhlenschmidt
ecc0ab19ed Removed bad namespace based enum forward declare which upsets clang.
To remove the enum property editors can now only create standalone mode property editor toolkits which is the only thing they supported anyway.

[CL 13546866 by Matt Kuhlenschmidt in ue5-main branch]
2020-05-26 12:33:34 -04:00
Louise Rasmussen
17b44648ea Details Panel Style adjustments
[CL 13475930 by Louise Rasmussen in ue5-main branch]
2020-05-20 15:48:16 -04:00
dave belanger
e80c5986d7 Fix details panel refresh issues (which go away after changing actor selection):
- Details view did not update correctly when removing the actor details object filter.
- Actor components box visibility
#rb Rex.Hill,Matt.Kuhlenschmidt

#ROBOMERGE-SOURCE: CL 13056881 via CL 13056890 via CL 13056896
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v686-13045012)

[CL 13056915 by dave belanger in Main branch]
2020-04-28 12:41:26 -04:00
matt kuhlenschmidt
2466840461 Added filtering to details panels to filter the set of incoming objects passed to a details panel
Changed the way details panels handle multiple root objects.  The filter can now specify this without setting a specific flag on a details panel at creation time.

[CODEREVIEW] chris.gagnon


#ROBOMERGE-OWNER: matt.kuhlenschmidt
#ROBOMERGE-AUTHOR: matt.kuhlenschmidt
#ROBOMERGE-SOURCE: CL 11308033 via CL 11308037 via CL 11308040
#ROBOMERGE-BOT: (v653-11302973)
#rb none

[CL 11310703 by matt kuhlenschmidt in Main branch]
2020-02-10 15:43:53 -05:00
JeanMichel Dignard
70d074639f Merging //UE4/Dev-Main @ 10886849 to Dev-Tools-Staging (//UE4/Dev-Tools-Staging)
#rb none
#rnx

[CL 10906274 by JeanMichel Dignard in Dev-Tools-Staging branch]
2020-01-08 13:26:18 -05:00
ryan durand
627baf970a Updating copyright for Engine Editor.
#rnx
#rb none


#ROBOMERGE-SOURCE: CL 10869241 via CL 10869527 via CL 10869904
#ROBOMERGE-BOT: (v613-10869866)

[CL 10870586 by ryan durand in Main branch]
2019-12-26 15:33:43 -05:00
sebastian nordgren
138a3c542e Adding an entry to an array in a component being edited in a locked details view no longer asserts.
This was occurring due to the construction script being rerun and the old instance of the component being garbage collected. When the view is not locked this was handled by the selection being set, but with a locked view we were relying on SDetailsView::ReplaceObjects, which was failing to match the existing component to the newly created component.

#jira UE-61711
#rb paul.chipchase

[CL 9954537 by sebastian nordgren in Dev-Editor branch]
2019-11-01 07:45:52 -04:00