Commit Graph

26 Commits

Author SHA1 Message Date
sebastian arleryd
cc5fb22309 Add new EToolMenuInsertType::Last
With this, code can specify that an entry should be positioned last in a section or a section positioned last in a menu. The biggest effect of this is that Last-positioned entries or sections will appear after Default-positioned entries or sections even if the Last-positioned ones are added earlier.

#jira UE-212286
#rb ross.smith2

[CL 34231067 by sebastian arleryd in ue5-main branch]
2024-06-10 03:48:51 -04:00
steve robb
f8d47335a4 Replaced RemoveAt(N, 1, EAllowShrinking::*) with RemoveAt(N, EAllowShrinking::*).
[CL 31626444 by steve robb in ue5-main branch]
2024-02-19 16:51:58 -05:00
steve robb
f029468598 Fixed up a lot of bool-taking container resize functions to take EAllowShrinking instead.
[CL 30729174 by steve robb in ue5-main branch]
2024-01-19 16:41:35 -05:00
aditya ravichandran
a94abf2d1c UToolMenus: Add API to support Menu Profiles, a menu profile is a lightweight version of a menu customization - but you can have multiple menu profiles and activate/deactivate them at runtime per menu instance using a new menu context.
Read Only Asset Editors: Automatically hide any custom menu and toolbar items in read only mode, with an opt in permission list for specific asset editors to selectively allow entries that are valid in read only mode

#jira UE-195628
#rb Rex.Hill

[CL 29809442 by aditya ravichandran in ue5-main branch]
2023-11-17 11:26:45 -05:00
george rolfe
e8d819c903 [ToolMenus] Overloaded FindOrAdd functions with other Add params
#rb rex.hill
#rb sebastian.arleryd
#rnx

[CL 28651800 by george rolfe in ue5-main branch]
2023-10-10 22:52:43 -04:00
george rolfe
0fade0153e [ToolMenus] Exposed StyleSet in UToolMenu
#jira UE-194503
#rb rex.hill

[CL 27589969 by george rolfe in ue5-main branch]
2023-09-04 18:15:13 -04:00
bryan sefcik
0beee50b45 Updated ../Engine/Source/Developer/... to inline gen.cpp files
Before:
Total CPU Time: 53783.640625 s
Total time in Parallel executor: 558.66 seconds
After:
Total CPU Time: 47886.140625 s
Total time in Parallel executor: 498.81 seconds

#jira

[CL 22173145 by bryan sefcik in ue5-main branch]
2022-09-24 13:31:25 -04:00
lauren barnes
6b4c2fcbfc Increase default menu height
#jira UE-136342
#rb trivial
#preflight 61f9b1269e4d23cd93b107db

#ROBOMERGE-AUTHOR: lauren.barnes
#ROBOMERGE-SOURCE: CL 18816617 in //UE5/Release-5.0/... via CL 18816636 via CL 18822836
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v910-18824042)

[CL 18824645 by lauren barnes in ue5-main branch]
2022-02-02 07:55:31 -05:00
robomerge
dd6eb25f5d Disable early cleanup of menus while a few edge cases can be debugged and fixed
#preflight skip
#jira UE-138752, UE-138854

#ROBOMERGE-AUTHOR: rex.hill
#ROBOMERGE-SOURCE: CL 18597610 via CL 18599500 via CL 18599509 via CL 18599523 via CL 18613962 via CL 18614018 via CL 18614068
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v899-18417669)

[CL 18614104 by robomerge in ue5-main branch]
2022-01-13 22:29:52 -05:00
robomerge
f57c8a32af Fix tool menus holding onto widgets after being closed and before gc
#preflight skip

#ROBOMERGE-AUTHOR: rex.hill
#ROBOMERGE-SOURCE: CL 18535684 via CL 18537774 via CL 18537780 via CL 18537788 via CL 18538373 via CL 18538390
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v899-18417669)

[CL 18538400 by robomerge in ue5-release-engine-test branch]
2022-01-06 20:17:04 -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
69fe095547 Merge from Release-Engine-Staging @ 17636544 to Release-Engine-Test
This represents UE4/Main @17638339 and Dev-PerfTest @17636504

[CL 17638842 by aurel cordonnier in ue5-release-engine-test branch]
2021-09-27 19:54:25 -04:00
jamie dale
9db3723503 Added menu context clean-up functions
These are called when a menu is closed, and can be used to clean-up context object data without needing to run a GC

#rb Rex.Hill

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

[CL 15562993 by jamie dale in ue5-main branch]
2021-03-01 18:20:08 -04:00
Lauren Barnes
94aa16c5ac Adding command handling for FToolUIActions. There is now an in-viewport property menu that can be enabled by Editor.EnableInViewportMenu in the console, and then pressing Tab when a supported actor (currently any light actor) is selected.
#rb Rex.Hill
#jira UETOOL-2698

[CL 15036864 by Lauren Barnes in ue5-main branch]
2021-01-11 09:19:43 -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
rex hill
0f6db5c1d4 Tool Menus: Script API to add section now skips overriding label or position if not set
#rnx
[FYI] Bryce.Lumpkin
#jira


#ROBOMERGE-SOURCE: CL 11207759 via CL 11207765 via CL 11207767
#ROBOMERGE-BOT: (v643-11205221)

[CL 11207769 by rex hill in Main branch]
2020-02-03 13:21:16 -05:00
rex hill
2fdcc4b9eb Tool Menus: Sort sections that are added to a menu before registration
#rnx


#ROBOMERGE-SOURCE: CL 11132386 via CL 11132679 via CL 11132707
#ROBOMERGE-BOT: (v640-11091645)

[CL 11132735 by rex hill in Main branch]
2020-01-28 13:09:22 -05:00
rex hill
ac33d3cb51 Tool Menus: Impoved support for substitution of root menus in a hierarchy
#rb none


#ROBOMERGE-SOURCE: CL 10906710 via CL 10906711 via CL 10906714
#ROBOMERGE-BOT: (v626-10872990)

[CL 10906715 by rex hill in Main branch]
2020-01-08 13:59:59 -05:00
ryan durand
471d972e62 Updating copyright for Engine Developer.
#rnx
#rb none


#ROBOMERGE-SOURCE: CL 10869240 via CL 10869516 via CL 10869902
#ROBOMERGE-BOT: (v613-10869866)

[CL 10870584 by ryan durand in Main branch]
2019-12-26 15:32:37 -05:00
rex hill
59d14b16b7 Parameter to constrain menu height, merged from CL 9763699
#jira UE-79942
#rb rex.hill
[FYI] lauren.barnes


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

[CL 10086476 by rex hill in Main branch]
2019-11-08 15:01:46 -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
rex hill
0c03d2d876 Add tool menus modules
#rb lauren.barnes
#rnx


#ROBOMERGE-OWNER: rex.hill
#ROBOMERGE-AUTHOR: rex.hill
#ROBOMERGE-SOURCE: CL 9900001 via CL 9902343
#ROBOMERGE-BOT: (v558-9892490)

[CL 9903399 by rex hill in Main branch]
2019-10-31 13:03:20 -04: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