Commit Graph

289 Commits

Author SHA1 Message Date
Nick Darnell
b1da3f4e15 UE-6710 - Details panel now allows optional floats for min/max sizes. It always did, if you put 0 as the min/max now it's explicit with Optional. Making the SLateChildSizeCustomization use an optional max size so that it doesn't get cut off.
[CL 2389120 by Nick Darnell in Main branch]
2014-12-15 16:41:32 -05:00
Ben Zeigler
d2fdc1a337 #UE4 Fix a crash when clearing an array inside an array is propagated to child blueprints that have an empty outer array. PropagatePropertyChange handled this case already, but now PropagateArrayPropertyChange does as well
#codereview Robert.Manuszewski

--------
Integrated using branch Ue4-To-UE4-Fortnite-Simple (reversed) of change#2384498 by Ben.Zeigler on 2014/12/10 17:52:54.

[CL 2384499 by Ben Zeigler in Main branch]
2014-12-10 17:54:08 -05:00
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
Michael Schoell
0e318b55ba Can set default values on local function variables.
Details view supports displaying UProperties from external UStruct's that are not a property of a UObject.

#jira UE-2246 - BP: Local function variables need to support default values

[CL 2383580 by Michael Schoell in Main branch]
2014-12-10 10:57:36 -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
Ben Marsh
959cfa782d Add missing copyright notices to source files.
[CL 2379212 by Ben Marsh in Main branch]
2014-12-06 19:14:20 -05:00
Ben Marsh
ae11a5d621 Various fixes for include patterns that rely on delayed function instantiation to compile, which prevents including them in isolation. Tidy up some other include patterns.
[CL 2374720 by Ben Marsh in Main branch]
2014-12-03 09:26:36 -05:00
Matt Kuhlenschmidt
77984a454f Fixed show only modified properties in the details panel not working
[CL 2373971 by Matt Kuhlenschmidt in Main branch]
2014-12-02 14:57:14 -05:00
Jamie Dale
6b008d0722 Fixed code relying on the version of SWidget::SetToolTipText that took an FString
Made sure everything was using FText rather than FString, and also updated the property editor API to return tooltips as FText rather than FString.

[CL 2373917 by Jamie Dale in Main branch]
2014-12-02 13:48:53 -05:00
Jamie Dale
dd020dea5c Fixed code relying on SLATE_TEXT_ATTRIBUTE for SToolTip
Made sure everything was using FText rather than FString.

[CL 2373727 by Jamie Dale in Main branch]
2014-12-02 10:22:37 -05:00
Jamie Dale
09af8a9c60 Fixed code relying on SLATE_TEXT_ARGUMENT for SNumericEntryBox
Made sure everything was using FText rather than FString.

[CL 2373615 by Jamie Dale in Main branch]
2014-12-02 06:47:27 -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
Ben Marsh
48b287992a Break circular include dependencies.
[CL 2371087 by Ben Marsh in Main branch]
2014-11-26 15:31:15 -05:00
Jamie Dale
e856661aed Fixed code relying on SLATE_TEXT_ATTRIBUTE for SHeaderRow::FColumn
Made sure everything was using FText rather than FString.

[CL 2370913 by Jamie Dale in Main branch]
2014-11-26 12:46:05 -05:00
Ben Marsh
5bb8828252 More fixes for doxygen warnings.
[CL 2368556 by Ben Marsh in Main branch]
2014-11-24 12:52:19 -05:00
Marc Audy
0acad9828f Convert Engine, QAGame, and Sample Games to use TimerHandle
[CL 2366279 by Marc Audy in Main branch]
2014-11-20 10:01:23 -05:00
Andrew Brown
f744ff99da Details panel can now display those properties whose group matches the search criteria
#jira UE-1281 : The details panel doesnt search through parameter group names

#branch UE4

#add Added a new details filter button. This is enabled by default, if the user want to turn off category filtering they need to disable it from the eye menu

[CL 2364762 by Andrew Brown in Main branch]
2014-11-19 06:38:05 -05:00
Matt Kuhlenschmidt
643dc989dd Back out change to make the details panel object name field smaller
[CL 2363353 by Matt Kuhlenschmidt in Main branch]
2014-11-18 09:57:34 -05:00
Matt Kuhlenschmidt
d647c8f5ed Fix cases of constant FName recreation in the editor which is affecting performance
[CL 2363352 by Matt Kuhlenschmidt in Main branch]
2014-11-18 09:57:20 -05:00
Dmitry Rekman
a9584f2e61 Fixing || and && being in the same scope.
Not changing the existing behavior, although unsure whether it matches the intent in some cases.
Rule of thumb: when || and && are in the same scope, they are evaluated as if && was in parentheses
   E.g.
      Pointer && Pointer->Foo() || Pointer->Bar()
    is evaluated as
     (Pointer && Pointer->Foo()) || Pointer->Bar()

(I fixed such cases in changelists before this one as they were certainly unsafe).

#codereview Nicholas.Davies, Matt.Kuhlenschmidt, Gareth.Martin, Daniel.Wright, Mike.Beach, Maciej.Mroz, Simon.Tovey, Michael.Schoell

[CL 2362986 by Dmitry Rekman in Main branch]
2014-11-17 23:35:09 -05:00
Dmitry Rekman
c90820f132 Fixing || and && in the same scope.
- Changed the behavior in one case since the intent seems to have been different.

#codereview Maciej.Mroz

[CL 2362984 by Dmitry Rekman in Main branch]
2014-11-17 23:30:10 -05:00
Maciej Mroz
a07fc2efb9 FStructOnScope is an interface to access a struct instance, that is not directly owned by any UObject. Specialized implementations are allowed.
[CL 2361760 by Maciej Mroz in Main branch]
2014-11-17 09:14:03 -05:00
Maciej Mroz
1dfebced41 UE-5411 UDS: Lack of window for entering default values for variables in structure
#codereview Mike.Beach, Nick.Atamas, Matt.Kuhlenschmidt

[CL 2359872 by Maciej Mroz in Main branch]
2014-11-14 06:35:34 -05:00
Jamie Dale
106aa28941 Fixed the details view scrollbar being visible even when nothing was selected
[CL 2357114 by Jamie Dale in Main branch]
2014-11-12 10:50:34 -05:00
Mikolaj Sieluzycki
462bb3edc1 Prepare cpp files for header cleanup.
#codereview Robert.Manuszewski

[CL 2356890 by Mikolaj Sieluzycki in Main branch]
2014-11-12 05:28:51 -05:00