Commit Graph

56 Commits

Author SHA1 Message Date
benjamin fox
ccbeef74dc Added AddVerifiedEditableText to FMultiBoxBuilder to expose SEditableTextBlock::OnVerifyTextChanged
#preflight 6245cae0c667881bf4f89ee4
#rb Lauren.Barnes

[CL 19573724 by benjamin fox in ue5-main branch]
2022-03-31 11:55:06 -04:00
daren cheng
526c49058a Add Toolstack support to tool palettes.
#jira UE-138664
#preflight 6202ee26c451a5d0dc08eec6
#rb brooke.hubert Rex.Hill Ryan.Schmidt Patrick.Boutot
#fyi Ryan.Schmidt, Lauren.Barnes

[CL 19020456 by daren cheng in ue5-main branch]
2022-02-16 15:08:30 -05:00
daren cheng
89ec8b3458 Add support for shortname usage in FUICommandInfo & InputCoords.
Add support for struct param construction of FMultiBlock & FMenuEntryBlock
Add support for overriding of input action text.

#jira UE-134754
#rb Lauren.Barnes
#preflight 61952207b32bbfdc5007c419
#robomerge[BOT4] 5.0
#robomerge[BOT1] Main

[CL 18229583 by daren cheng in ue5-main branch]
2021-11-17 17:01:42 -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
steven dao
b70a3f2efd Add new Actions (Actor/Component/Element) menu to the level editor's main menu bar that brings up the context menu corresponding to the selection
- The menu's title changes depending on the selection ("Actor", "Component", or "Element" currently since those are the three currently-defined context menus for the level editor)
- The context menus will get reorganized in subsequent changes so that the pulldown Actions menu displays the full set of entries while the right-click context menu is trimmed down to a shorter subset of entries. This change does not reorganize any items yet.
- Add support to UToolMenus for using a TAttribute<FText> for the pulldown menu title/tooltip and for supplying FOnGetContent for generating the pulldown menu.

#rb rex.hill
#preflight 61534e89260f7d0001c7e4ac

#ROBOMERGE-OWNER: steven.dao
#ROBOMERGE-AUTHOR: steven.dao
#ROBOMERGE-SOURCE: CL 17652268 via CL 17652271 via CL 17652276 via CL 17652280 via CL 17652287
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v875-17642767)
#ROBOMERGE[STARSHIP]: UE5-Main

[CL 17652461 by steven dao in ue5-release-engine-test branch]
2021-09-28 17:41:11 -04:00
patrick laflamme
3a26ef4613 #jira UE-122235 - Crash Opening Dropdown Menus in AnimBP Details Panel
- Added 'recursive searchable' property to the FMenuEntryBlock to let the menu searching algorith if it should go down the sub-menus.
  - Fixed property binding auto-generated menus that can expand indefinitedly (in a circular fashion) to search only the current level and prevent stack overflow.

#rb Lauren.Barnes
#preflight 6126a50d2a3bf7000162a612

#ROBOMERGE-SOURCE: CL 17316068 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v861-17282326)

[CL 17316070 by patrick laflamme in ue5-release-engine-test branch]
2021-08-26 08:10:12 -04:00
Marc Audy
3cfedaade8 Fix PVS warning V502 when comparing against NAME_None in a trinary
[CL 16137741 by Marc Audy in ue5-main branch]
2021-04-28 01:58:36 -04:00
louise rasmussen
cfa93e0cac Custom Menu Delegates for Toolbar Widgets + Viewport Transform ToolBar creates menu items for overflow widgets
#JIRA UETOOL-2859
#rb Lauren.Barnes, Matt.Kuhlenschmidt
#preflight 60623b2fa6aaf90001c1b17b

#ROBOMERGE-SOURCE: CL 15855668 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v786-15839533)

[CL 15857250 by louise rasmussen in ue5-main branch]
2021-03-29 20:50:34 -04:00
Marc Audy
bf80889353 UE5/Release-Engine-Staging to UE5/Main
This represents UE4/Main up to CL# 14958402

[CL 15028197 by Marc Audy in ue5-main branch]
2021-01-08 19:56:07 -04:00
Matt Kuhlenschmidt
6973e6a61e Toolbars can now support a hybrid mode where they include no text unless a specific toolbar entry is called out using the "calloutstyle" for the toolbar entry. This allows toolbars to reduce their width significantly. The level editor now uses this by default but a few other asset editors have been set up for this
[CL 14994802 by Matt Kuhlenschmidt in ue5-main branch]
2021-01-05 16:38:18 -04:00
Louise Rasmussen
96abe8305c Menu Styling
[CL 14832749 by Louise Rasmussen in ue5-main branch]
2020-12-01 20:58:20 -04:00
Matt Kuhlenschmidt
af2704e6c9 Add custom horizontal alignment override to widgets in toolbars
[CL 14589424 by Matt Kuhlenschmidt in ue5-main branch]
2020-10-27 13:18:06 -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
c42837a0a9 Added a toolbar style to avoid so much duplication of styles related to toolbars in the editor
Fixed up all obvious use cases

#rb louise.rasmussen

[CL 13276109 by Matt Kuhlenschmidt in ue5-main branch]
2020-05-12 09:32:51 -04:00
rex hill
c990eff3a0 Fix merge issue with MultiBoxBuilder preventing extenders from being disabled
#jira
#rnx
#rb none

#ROBOMERGE-SOURCE: CL 13058619 via CL 13058621 via CL 13058625 via CL 13058630
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v686-13045012)

[CL 13058634 by rex hill in Main branch]
2020-04-28 13:57:57 -04:00
matt kuhlenschmidt
793758b90b Fixed not being able to add separators to toolbars using the new tool menus api to create toolbars. Toolbars were not accounting for multiple separator types. Deprecated the concept of a menu separator and a toolbar separator and made only one separator type.
For now did not deprecate usage of AddMenuSeparator in menu builders due to the extreme number of fiiles this touches

[CODEREVIEW] rex.hill

#ROBOMERGE-SOURCE: CL 12669820 via CL 12669822 via CL 12669823
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v675-12543919)

[CL 12671630 by matt kuhlenschmidt in Main branch]
2020-04-08 10:05:51 -04:00
rex hill
6feab03e6a Fix menu search not starting when max height is set
#jira UE-87630
#rb lauren.barnes
#rnx


#ROBOMERGE-SOURCE: CL 11168153 via CL 11168155 via CL 11168157
#ROBOMERGE-BOT: (v640-11091645)

[CL 11169092 by rex hill in Main branch]
2020-01-29 17:08:58 -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
0f0464a30e Updating copyright for Engine Runtime.
#rnx
#rb none


#ROBOMERGE-OWNER: ryan.durand
#ROBOMERGE-AUTHOR: ryan.durand
#ROBOMERGE-SOURCE: CL 10869210 via CL 10869511 via CL 10869900
#ROBOMERGE-BOT: (v613-10869866)

[CL 10870549 by ryan durand in Main branch]
2019-12-26 14:45:42 -05:00
Chris Gagnon
346a4b05ea Copy up from Dev-Editor @10681378
#rb none

[CL 10837446 by Chris Gagnon in Dev-Tools-Staging branch]
2019-12-19 18:07:47 -05:00
Gines Hidalgo
14c3621eec #jira UE-81469
New feature: Added the capability of adding Radio buttons to the submenu main button (not only to its entries).

This CL is the first of 2 CLs that introduce multiple improvements on the "View Mode" menu of the Viewport, including a new feature request from JIRA UE-81469. However, we isolate this particular new feature into an isolated CL given that it can be applicable anywhere in the Editor, not only for "View Mode".

Issue: If any subcategory of "View Mode" was chosen, the user could not know in which category it was located (unless the user manually looked into each category until he found the selected one).
Solution: Added the checked functionality (with a radio button) to each one of the categories, behaving similarly to any subcategory. This way, both the radio button of the category and the one from the specific subcategory will be checked simulatenously.

More technical details:
Adding this functionality to "View Mode" means adding the functionality of "FUIAction::FIsActionChecked" into "AddSubMenu", which includes modifications to "MultiBox", "SMenuEntryBlock", and "MultiBoxBuilder".

1) We are changing a submenu so it has a radioButton
2) To specify a radio button a developer has to use a different API that includes a delegate (FUIAction) to say if it should be checked or not before this CL
3) The different API for AddSubMenu was not passing along the command list for that child submenu to use
4) The updated code now passes the command list along for the child submenu to use

#rb rex.hill

[CL 10228324 by Gines Hidalgo in Dev-Editor branch]
2019-11-14 17:02:10 -05:00
rex hill
89a4729290 Fix extenders on menu sometimes not working
#rb lauren.barnes
#rnx
#jira


#ROBOMERGE-SOURCE: CL 10114203 via CL 10114206
#ROBOMERGE-BOT: (v587-10111126)

[CL 10114209 by rex hill in Main branch]
2019-11-12 13:24:36 -05:00
rex hill
544de5feef Tool Menus: Add option to disable menu extensions
#rb none
#rnx
#jira


#ROBOMERGE-OWNER: rex.hill
#ROBOMERGE-AUTHOR: rex.hill
#ROBOMERGE-SOURCE: CL 10082263 via CL 10082264
#ROBOMERGE-BOT: (v574-10069753)

[CL 10082583 by rex hill in Main branch]
2019-11-08 09:58:51 -05:00
lauren barnes
636c906dbd Added parameter to constrain menu height
#rb Rex.Hill
#jira UE-79942
[FYI] Marc.Audy

#ROBOMERGE-SOURCE: CL 9763690 in //UE4/Release-4.24/...
#ROBOMERGE-BOT: RELEASE (Release-4.24 -> Main) (v545-9751379)

[CL 9763699 by lauren barnes in Main branch]
2019-10-23 16:47:44 -04:00
Chris Gagnon
8ab0638182 Copying //UE4/Dev-Editor to Dev-Main (//UE4/Dev-Main) for 4.24
#rb none

[CL 9325047 by Chris Gagnon in Main branch]
2019-10-01 20:41:42 -04:00