Commit Graph

36 Commits

Author SHA1 Message Date
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
ryan schmidt
bccac52930 Add ability to dynamically toggle visibility of ToolkitBuilder command buttons, and use in Modeling Mode to hide button panel when inside a Tool
#rb Karen.Jirak
#preflight 6442b6c50171aae0b1bb631e

[CL 25150876 by ryan schmidt in ue5-main branch]
2023-04-21 14:54:39 -04:00
karen jirak
69b40feac3 Fixes hiding category title and modeling mode selection toolbar missing icons.
#jira UE-171293
#rb ryan.schmidt
#preflight 64417f0f434155a8f85145d0

[CL 25139633 by karen jirak in ue5-main branch]
2023-04-20 19:06:18 -04:00
karen jirak
9bedb0aef7 Updates for ToolkitBuilder to allow category labels based on editor preferences, and remove the category title.
#rb Ryan.Schmidt
#preflight 64403ca90a5a4b944efc1047

[CL 25116903 by karen jirak in ue5-main branch]
2023-04-19 17:36:36 -04:00
nathan mitchell
1028ece937 Modeling Mode: Interactive Tool Preset Feature Version 2
Adds a preset manager with controls to edit preset labels and tooltips, display both project level and user level presets, and create/delete user level preset collections.
Presets are now saving internal tool setting state via json encoded strings, to avoid issues with transient class flags.
Presets are now either created by the user under project trees or via the preset manager in the plugin tree to act as user level preset collections.
A default preset collection is automatically created upon editor start up if none exists prior.
The default preset is used as the destination for all new presets until explicitly overridden by the user within an editor session.
Preset updating is removed for the time being.

#rb semion.piskarev
#preflight 6435e3b52909bc56c8f4c37a

[CL 25000852 by nathan mitchell in ue5-main branch]
2023-04-11 19:28:52 -04:00
aditya ravichandran
f7052d4d64 WidgetRegistration: Add preliminary framework for saving/loading favorites using EditorConfig
#rb lauren.barnes, karen.jirak, semion.piskarev
#preflight 6411eec2af3fc352928935bb

[CL 24659996 by aditya ravichandran in ue5-main branch]
2023-03-15 15:04:26 -04:00
karen jirak
056b9b6aa2 Fixes log errors for undefined styles.
#jira UE-177462
#rb Lauren.Barnes
#preflight 63effa101d71bcd26221d4fe

[CL 24295448 by karen jirak in ue5-main branch]
2023-02-17 19:48:56 -05:00