42 Commits

Author SHA1 Message Date
jeanmichel dignard
23e0f5dd24 Place Actors Panel
- Support brushes in the "Add+" menu by removing the CustomGenerator using SBspPalette which wasn't needed anymore and adding DragHandler support in FPlacementMenuEntry
- Added support for short category names to fit buttons. Section headers still use the full names.
- Removed mention of dragging from the empty favorites hint text
- Removed unused bInUseLongDisplayName from FBuilderInput

#jira UE-205201

[CL 34542153 by jeanmichel dignard in ue5-main branch]
2024-06-20 15:39:47 -04:00
jeanmichel dignard
eda7070def Place Actors
- Renamed "Visual Effects" to "VFX", "All Classes" to "All" and "Cinematic" to "Cine" so that they fit the new buttons.
- Removed drag and dropping into favorites support since it's incomplete.
- Fixed a bug where the CategoryDrivenContentBuilder was creating a new widget without going through its GenerateWidget path. This meant that subsequent calls to UpdateWidget would update the new widget but the UI would still display the old one.
- Changed the sorting for "All Classes" so that it doesn't take the order override into account. The order override doesn't make sense in a global scope and had all of the brushes as the first items for All Classes.

#jira UE-205201
#rb brooke.hubert

[CL 34378644 by jeanmichel dignard in ue5-main branch]
2024-06-14 14:20:04 -04:00
jeanmichel dignard
f80571b0f7 Place Actors: Add a context menu to hide and show labels and persist the user choice
#jira UE-210915
#rb karen.jirak

[CL 34274888 by jeanmichel dignard in ue5-main branch]
2024-06-11 09:51:01 -04:00
sebastian arleryd
c1a3e0eef4 Remove unnecessary include of ToolMenus.h from ToolkitBuilder.h and fix fallout
#jira UE-212289
#rb ross.smith2

[CL 33935444 by sebastian arleryd in ue5-main branch]
2024-05-28 03:52:51 -04:00
steve robb
7f9dd540a6 Fixed IsDerivedFromSharedFromThis() when there are multiple TSharedFromThis bases.
Refactored the TSharedFromThis code to enforce a compile error when trying to create a TSharedPtr with multiple TSharedFromThis bases.
Fixed fallout.

#rb devin.doucette

[CL 33610597 by steve robb in ue5-main branch]
2024-05-13 18:24:48 -04:00
karen jirak
3c8945bb8c Refine styles for toolbar and buttons within.
Adding label visibility updates to the category toolbars and clipping vertical box, and refining the styles for the view to match UX.

#jira UE-213037
#rb JeanMichel.Dignard

[CL 33490827 by karen jirak in ue5-main branch]
2024-05-07 14:53:32 -04:00
karen jirak
f6ac6a431c Add favorites drop target for place actors
For toolbars, we need the ability to provide buttons with dropzone (or othere) capabilities, and we need to be able to track the selected index for the toolbar in the overflow button. I added the selected index for the toolbar, and for buttons on the toolbar I added a delegate to toolbar buttons which can decorate the button as needed (in this case adding a droptarget). In this case, using the asset droptarget is the first step that will be covered in this review, the intention is to ultimately support more than just assets for this droptarget.

The reason that we need to track the last selected index is because the overflow button in the SClippingVerticalBox needs to apply a certain style based upon whether something in the overflow has been selected. To enable that there are changes in SClippingVerticalBox to track and use the last selected index to provide the appropriate styling.

#jira UE-212486
#rb sebastian.arleryd

[CL 33268118 by karen jirak in ue5-main branch]
2024-04-26 12:43:12 -04:00
karen jirak
5ed0ee02d2 Fixing editor failure, by checking for instance before removing from root
#jira UE-212371
#rb JeanMichel.Dignard

[CL 32982055 by karen jirak in ue5-main branch]
2024-04-15 21:11:36 -04:00
karen jirak
356c94488d Place Actors Milestone 2, new builders.
-Header and body container
- Simple Title container
- Column wrapping container
- Zero State builder
- Addition of favorites
- moved additions of placement entries into the category builder

#jira UE-205201
#rb JeanMichel.Dignard

[CL 32977191 by karen jirak in ue5-main branch]
2024-04-15 17:30:12 -04:00
karen jirak
0f6889db0e Place actors milestone 2, managers and keys
Added keys for Builders, Icons, Icon sizes, and managers for style, command creation, Inputs, and Persistence.

#jira UE-205201
#rb JeanMichel.Dignard

[CL 32930864 by karen jirak in ue5-main branch]
2024-04-12 11:14:16 -04:00
bob tellez
bbc47be6c2 [Backout] - CL32887250
[FYI] karen.jirak
Original CL Desc
-----------------------------------------------------------------
Place actors milestone 2, managers and keys

Added keys for Builders, Icons, Icon sizes, and managers for style, command creation, Inputs, and Persistence.

#jira UE-205201
#rb JeanMichel.Dignard

[CL 32922674 by bob tellez in ue5-main branch]
2024-04-12 02:40:43 -04:00
karen jirak
5a6147ea11 Place actors milestone 2, managers and keys
Added keys for Builders, Icons, Icon sizes, and managers for style, command creation, Inputs, and Persistence.

#jira UE-205201
#rb JeanMichel.Dignard

[CL 32887285 by karen jirak in ue5-main branch]
2024-04-11 09:26:00 -04:00
karen jirak
b31df3472a [Backout] - CL31789615
[FYI] Bryan.Johnson
Original CL Desc
-----------------------------------------------------------------
[Backout] - CL31782478
[FYI] karen.jirak
Original CL Desc
-----------------------------------------------------------------
Place Actors Panel - Usability Improvements

~ Extracted a large chunk out of FToolkitBuilder and put it in abstract class CategoryDrivenContentBuilderBase, which provides a base class for any class which needs a lefthand vertical category picker which loads content in the box next to the picker
~ Implemented CategoryDrivenContentBuilder, which provides a delegate which takes an FName as an argument which provides the name of the category just clicked, and returns the TSharedRef<SWidget> the user wants loaded for the selected category
~ created FPlacementModeCommands which creates a command to load content for any placement commands found
~ Introduced CVar PlaceActors.EnableCategoryChooserView which, when true, loads the new (in progress) place actors tab
~ altered SPlacementModeTools to create and use the CategoryDrivenContentBuilder when PlaceActors.EnableCategoryChooserView is true, else it loads the usual place actors panel
~ updated ToolElementRegistry with a convenience method that generates the widget and immediately converts it to a shared Ref

Note that after a change in the CVar, you will need to close and reopen the place actors panel for it to appear properly.

#jira UE-205201
#rb brooke.hubert, JeanMichel.Dignard

[CL 31846160 by karen jirak in ue5-main branch]
2024-02-27 13:36:17 -05:00
bryan johnson
0a9447536e [Backout] - CL31782478
[FYI] karen.jirak
Original CL Desc
-----------------------------------------------------------------
Place Actors Panel - Usability Improvements

~ Extracted a large chunk out of FToolkitBuilder and put it in abstract class CategoryDrivenContentBuilderBase, which provides a base class for any class which needs a lefthand vertical category picker which loads content in the box next to the picker
~ Implemented CategoryDrivenContentBuilder, which provides a delegate which takes an FName as an argument which provides the name of the category just clicked, and returns the TSharedRef<SWidget> the user wants loaded for the selected category
~ created FPlacementModeCommands which creates a command to load content for any placement commands found
~ Introduced CVar PlaceActors.EnableCategoryChooserView which, when true, loads the new (in progress) place actors tab
~ altered SPlacementModeTools to create and use the CategoryDrivenContentBuilder when PlaceActors.EnableCategoryChooserView is true, else it loads the usual place actors panel
~ updated ToolElementRegistry with a convenience method that generates the widget and immediately converts it to a shared Ref

Note that after a change in the CVar, you will need to close and reopen the place actors panel for it to appear properly.

#jira UE-205201
#rb brooke.hubert, JeanMichel.Dignard

[CL 31789618 by bryan johnson in ue5-main branch]
2024-02-24 01:15:09 -05:00
karen jirak
33c468c122 Place Actors Panel - Usability Improvements
- added definition for constructor back to toolkit builder

#jira UE-205201

[CL 31787670 by karen jirak in ue5-main branch]
2024-02-23 20:52:38 -05:00
karen jirak
cd34502066 Place Actors Panel - Usability Improvements
- removed the new explicits on the constructors as it is causing compilation errors

#jira UE-205201

#rb Jean.Perrier, justin.peterson

[CL 31786531 by karen jirak in ue5-main branch]
2024-02-23 20:13:09 -05:00
karen jirak
aa979f8b0c Place Actors Panel - Usability Improvements
- fix import in CategoryDrivenContentBuilder.h
- move copyright up in the placement commands

#jira UE-205201
#rb justin.peterson

[CL 31784985 by karen jirak in ue5-main branch]
2024-02-23 19:16:57 -05:00
karen jirak
cbd7f320e1 Place Actors Panel - Usability Improvements
~ Extracted a large chunk out of FToolkitBuilder and put it in abstract class CategoryDrivenContentBuilderBase, which provides a base class for any class which needs a lefthand vertical category picker which loads content in the box next to the picker
~ Implemented CategoryDrivenContentBuilder, which provides a delegate which takes an FName as an argument which provides the name of the category just clicked, and returns the TSharedRef<SWidget> the user wants loaded for the selected category
~ created FPlacementModeCommands which creates a command to load content for any placement commands found
~ Introduced CVar PlaceActors.EnableCategoryChooserView which, when true, loads the new (in progress) place actors tab
~ altered SPlacementModeTools to create and use the CategoryDrivenContentBuilder when PlaceActors.EnableCategoryChooserView is true, else it loads the usual place actors panel
~ updated ToolElementRegistry with a convenience method that generates the widget and immediately converts it to a shared Ref

Note that after a change in the CVar, you will need to close and reopen the place actors panel for it to appear properly.

#jira UE-205201
#rb brooke.hubert, JeanMichel.Dignard

[CL 31782540 by karen jirak in ue5-main branch]
2024-02-23 18:18:23 -05:00
karen jirak
02a8dc9818 Details Panel - Component card layout actions
The categories on the components for core entities now have an action menu. It has many things in it that will log.

#jira UE-194008
#rb  Brooke.Hubert

[CL 27717413 by karen jirak in ue5-main branch]
2023-09-08 13:15:51 -04:00
karen jirak
0076fd10be * UE Toolkit Builder fit and finish/cleanup.
* Added a Separator Builder to the Modular class display infrastructure.

#jira UE-191012
#rb Brooke.Hubert

[CL 26595002 by karen jirak in ue5-main branch]
2023-07-25 20:31:59 -04:00
karen jirak
8adf2e2753 Toolkitbuilder ~ don't show category picker if only one category, API call for active palette name
#rb semion.piskarev

[CL 26358884 by karen jirak in ue5-main branch]
2023-06-30 18:50:21 -04:00
semion piskarev
13517cb3d6 MeshModelingTools: Let clicking the currently active category re-show the tool buttons that are hidden when a tool is open.
#rb Karen.Jirak

[CL 26330115 by semion piskarev in ue5-main branch]
2023-06-29 18:01:35 -04:00
nathan mitchell
cc6819f8a0 ModelingMode: Move preset access UI into the active tool's header bar.
#rb Ryan.Schmidt
#jira UE-184412

[CL 26066912 by nathan mitchell in ue5-main branch]
2023-06-16 15:51:59 -04:00
bryan sefcik
da92084a12 Optimized out more private modules includes and dependencies.
#preflight 64627c382965f6ea8ea83bd6

[CL 25479683 by bryan sefcik in ue5-main branch]
2023-05-15 16:26:12 -04:00
ryan schmidt
ba82d77d78 ToolkitBuilder: add OnActivePaletteChanged delegate that will fire when active tool palette changes
#rb karen.jirak
#preflight 644aa06d1150e908d0371bb0

[CL 25221236 by ryan schmidt in ue5-main branch]
2023-04-27 15:09:31 -04:00