Commit Graph

107 Commits

Author SHA1 Message Date
Nick Darnell
90e793745c Slate - ESlateCheckBoxState has been renamed to ECheckBoxState.
[CL 2384008 by Nick Darnell in Main branch]
2014-12-10 14:24:09 -05:00
Ben Marsh
149375b14b Update copyright notices to 2015.
[CL 2379638 by Ben Marsh in Main branch]
2014-12-07 19:09:38 -05:00
Thomas Sarkanen
819d171331 Restructured tutorial analytics events
Where dynamic event names were being constructed from tutorial assets, now reworked events to add a dynamic parameter.

UE-4978 - Restructure Tutorial Analytic Events

[CL 2377327 by Thomas Sarkanen in Main branch]
2014-12-05 05:33:09 -05:00
Jamie Dale
f440490671 Converted the property editor to use FText
The display name, filter string, and tooltips for the property editor (and associated detail customizations) are now stored as FText rather than FString. This allows us to remove SLATE_TEXT_ARGUMENT from the detail customization widgets.

[CL 2372595 by Jamie Dale in Main branch]
2014-12-01 11:19:41 -05:00
Ian Shadden
2debe31f86 #UE4 DOCS: Copied the soft reference functionality from the Global Editor Utility class to the Editor Tutorial Class
#code_review Nick.Whiting

[CL 2363949 by Ian Shadden in Main branch]
2014-11-18 16:24:38 -05:00
Mikolaj Sieluzycki
51f5333986 Prepare cpp files for header cleanup.
#codereview Robert.Manuszewski

[CL 2356864 by Mikolaj Sieluzycki in Main branch]
2014-11-12 04:58:53 -05:00
bruce nesbit
8fb1204d2e Added code to save current tutorial progress when tutorials are closed. (Fixes recurring welcome bubble)
[CL 2354482 by bruce nesbit in Main branch]
2014-11-10 09:44:22 -05:00
Chris Gagnon
0e6d657c3d Refactor to unify keyboard and controller input and focus.
Native controller navigation support.

[CL 2345039 by Chris Gagnon in Main branch]
2014-10-30 12:29:36 -04:00
Jamie Dale
b903ba8d80 Added support for disabling tab spawner menu entries
You could previously only have them enabled or hidden, you can now add them as disabled.

You can also now bind the menu item state to a delegate to let it update after the tab spawner has been registered.

#codereview Nick.Atamas

[CL 2341064 by Jamie Dale in Main branch]
2014-10-27 09:51:25 -04:00
Max Preussner
9884344213 Settings: Various improvements to the API
- made public headers compilable individually
- easier access to settings section delegates
- removed module singleton accessor
- moved non-trivial definitions into cpp files
- code & documentation cleanup

#UpgradeNotes:

- instead of ISettingsModule::Get() use FModuleManager::GetModulePtr<ISettingsModule>("Settings")
- instead of using FSettingsSectionDelegates assign delegates directly through the new ISettingsSection methods

[CL 2340711 by Max Preussner in Main branch]
2014-10-27 07:53:18 -04:00
bruce nesbit
3d564d83e5 Added Tab focus field for tutorials.
[CL 2334438 by bruce nesbit in Main branch]
2014-10-20 08:15:36 -04:00
Thomas Sarkanen
9d65f80e73 Tutorial Blueprint fixes
Tutorials now return a valid UWorld, enabling audio playback, timers and all sorts of good stuff.
Stage started event now fires on first stage.
Skipping a stage from BP now rebuilds content properly.
Added events for tutorial launch and close.

[CL 2330093 by Thomas Sarkanen in Main branch]
2014-10-15 09:37:16 -04:00
Wes Hunt
31e2bb00ac Removed a bunch of stuff from Slate standard include, created SlateBasics.h
* Moved Slate.h into SlateBasics.h and began shifting less commonly used headers into SlateExtras.h.
* Slate.h now simply includes SlateBasics.h and SlateExtras.h.
* Slate.h includes a deprecated warning now to indicate that SlateBasics.h + specific includes should be used instead.
* Moved dozens of inlined functions using Slate widgets into .cpp files to avoid header dependencies.
* All code samples now include SlateBasics.h and SlateExtras.h so future shifts will not break most those projects, but not trigger the deprecation warning of including Slate.h.
#BUN

[CL 2329610 by Wes Hunt in Main branch]
2014-10-14 22:50:06 -04:00
Jaroslaw Palczynski
7c41927cf4 Rename FPostConstructInitializeProperties to something simpler
Changed it with FObjectInitializer.

UECORE-7

[CL 2328384 by Jaroslaw Palczynski in Main branch]
2014-10-14 10:29:11 -04:00
Thomas Sarkanen
3014bfc0df Moving tutorial browser to an editor nomad tab
Tweaked styles and layout to better suit a tab.
Also fixed browser not showing some tutorials if all assets are not yet loaded.
Progress is now updated periodically as the browser can be now open while a tutorial is in progress.

TTP# 347956 - TUTORIALS: Selecting More Tutorials can hide Tutorial Browser

[CL 2327011 by Thomas Sarkanen in Main branch]
2014-10-13 06:46:06 -04:00
Thomas Sarkanen
aad459c06d Cleaned up unused old tutorial system files
[CL 2322619 by Thomas Sarkanen in Main branch]
2014-10-08 09:58:44 -04:00
Thomas Sarkanen
8011ba0c1b Adding external link indicator to tutorial hyperlinks
Slate changes:
Allowed hyperlink decorator and hyperlink run to be more easily derived from by moving some functions/variables to protected.

Added new run & decorator for hyperlinks in tutorials that add an icon to the end of the run if required.
Only use icon-style run if in display mode (not in edit mode).

reviewed by Jamie.Dale

[CL 2322460 by Thomas Sarkanen in Main branch]
2014-10-08 06:07:52 -04:00
Michael Trepka
37063d2cfc Fixed tutorial editor's widget picker on Mac
#codereview Thomas.Sarkanen

[CL 2321570 by Michael Trepka in Main branch]
2014-10-07 14:04:10 -04:00
Mikolaj Sieluzycki
c92ca070d1 Move references to UObjects from FCoreDelegates to FCoreUObjectDelegates
TTP #343071 CORE: FCoreDelegates should not have references to UObjects.
#codereview Robert.Manuszewski

[CL 2317144 by Mikolaj Sieluzycki in Main branch]
2014-10-02 06:13:35 -04:00
Thomas Sarkanen
cf68744ac8 Tutorials are now restarted when taken if they were previously completed
Override parameter passed in to LaunchTutorial when the tutorial has been completed already.

TTP# 348110 - EDITOR: TUTORIALS: Completed tutorials should always restart when re-taken

[CL 2315684 by Thomas Sarkanen in Main branch]
2014-10-01 05:57:50 -04:00
Thomas Sarkanen
d9ba2d3606 Tutorial content 'Next' button is now green, has text and is customizable
Rearranged layout/padding a little to compensate for larger apparent button size.
Kept larger button hitbox, which required some custom border handling for the button.

TTP# 348109 - EDITOR: TUTORIALS: Add green buttons to tutorials

[CL 2314257 by Thomas Sarkanen in Main branch]
2014-09-30 11:37:26 -04:00
Jamie Dale
669024da75 Fixed auto-wrapped text in the tutorials list never growing again if it was shrunk
TTP# 347884 - EDITOR: TUTORIALS: text does not expand when maximizing the window

The auto-wrapping allowed the text block to shrink when the window was shrunk, however the sizers were set to align their content left horizontally (rather than fill, which is the default) meaning that the text block was never allowed to grow again once it had shrunk.

A better way to achieve this is to set the sizer slots to fill, and then use the text justification on the text block to control the text location - thankfully both of these are the defaults.

#codereview Thomas.Sarkanen

[CL 2313013 by Jamie Dale in Main branch]
2014-09-29 11:55:44 -04:00
Thomas Sarkanen
877102f64c Added support for Back and Forward mouse buttons to Tutorials
As with the content browser, these buttons only function as back and forward when they are clicked within the bounds of the widget.

TTP# 347536 - TUTORIALS: Add Forward/Back web browser controls

[CL 2312859 by Thomas Sarkanen in Main branch]
2014-09-29 10:05:13 -04:00
Thomas Sarkanen
fe407d11d4 Searching tutorials now recursively searches all categories and sub-categories
If we have a search string we should search all categories starting at the current context, rather than just one level deep as before.
Also fixed search text highlighting to be consistently coloured and to show up for rich text content.

TTP# 347534 - CRITICAL: TUTORIALS: Search bar only shows results for currently displayed tutorials

[CL 2312725 by Thomas Sarkanen in Main branch]
2014-09-29 06:54:17 -04:00
Thomas Sarkanen
d60e92beca Added breadcrumb trail to tutorials browser
Displays crumbs according to the current navigation filter.

TTP# 347533 - TUTORIALS: Display tree path in Tutorial Window

[CL 2312668 by Thomas Sarkanen in Main branch]
2014-09-29 05:28:46 -04:00