Commit Graph

50 Commits

Author SHA1 Message Date
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
Chris Gagnon
2e87118a18 Copying //UE4/Dev-Editor to Dev-Main (//UE4/Dev-Main) Interim 4.24.
#rb none

[CL 8614014 by Chris Gagnon in Main branch]
2019-09-10 11:35:20 -04:00
Chris Gagnon
930e33cb48 Copying //UE4/Dev-Editor to Dev-Main (//UE4/Dev-Main) for 4.23 From CL 6837861
#rb none

[CL 6838042 by Chris Gagnon in Main branch]
2019-06-04 15:42:48 -04:00
Chris Gagnon
a48e767b94 Merging //UE4/Dev-Main to Dev-Editor (//UE4/Dev-Editor)
#rb none

[CL 4835066 by Chris Gagnon in Dev-Editor branch]
2019-01-29 16:15:19 -05:00
Thomas Sarkanen
e70bf90bb4 Fix shadowed variable warning
#jira none
#rb none
#lockdown Laurent.Delayen

[CL 4769631 by Thomas Sarkanen in Dev-Anim branch]
2019-01-22 06:54:46 -05:00
Thomas Sarkanen
cdd1db2ec9 Fixed pinned viewport commands being searchable
Slate Changes: Allowed menu builder to be optionally searchable. Added a default parameter to control this.

#jira UE-68733 - Users are able to type into a selected pinned command widget as if they are trying to search the widget for something
#rb Jurre.deBaare

[CL 4769617 by Thomas Sarkanen in Dev-Anim branch]
2019-01-22 06:37:41 -05:00
Chris Gagnon
8fc25ea18e Merging //UE4/Dev-Main to Dev-Editor (//UE4/Dev-Editor)
#rb none

[CL 4676797 by Chris Gagnon in Dev-Editor branch]
2019-01-02 14:54:39 -05:00