The DataTable pointer was only set when the data table tab was opened, so if you re-ordered your tab so that the row editor was created first, the row editor would be using a null data table pointer and the editor wouldn't work correctly.
[CL 2524427 by Jamie Dale in Main branch]
Previously you could only control whether you saw object properties or not, you can now control whether you see object, asset, class, and interface properties.
[CL 2520833 by Jamie Dale in Main branch]
UETOOL-281 - Improve data table workflows
UETOOL-304 - Data table editor doesn't support undo/redo properly
Undo/redo is now supported when adding, removing, moving, or renaming rows, as well as changing the properties of any given data table row.
This also adds highlighting when filtering the data table view, and slightly adjusts the selected row color so it doesn't blend into the background, as well as ensuring the data table is emptied prior to loading (as undo/redo loads on top of an existing object).
[CL 2511605 by Jamie Dale in Main branch]
UETOOL-281 - Improve data table workflows
This is needed as the changes that had been made to SSplitter have been moved to SHeaderRow instead, as they were too specific to go into the generic splitter.
This means that the data table editor now has two list views (one for the row names, one for everything else) which are kept in sync. We have two so that the row names can be anchored to the left of the screen when scrolling the other columns.
[CL 2508489 by Jamie Dale in Main branch]
Renamed the slot type from AbsoluteSize to ManualSize to avoid overloading the term "absolute".
Fixed some resizing issues when a ManualSize slot was used alongside the other slot types.
Improved the validation used when deciding whether a drag handle cursor should be shown, as this wasn't working correctly for ManualSize slots.
#codereview Nick.Atamas
[CL 2498725 by Jamie Dale in Main branch]
UETOOL-295 - Can't re-order rows in a data table
Added an option to move a row up or down, or to the top or bottom of the data table.
Updated the row editor UI to be more consistent with other editors, and re-arranged some of the controls on the toolbar, adding tooltips where appropriate.
Fixed the highlighted row in the data table not matching the selected row editor row when a data table was first opened.
[CL 2497325 by Jamie Dale in Main branch]
UETOOL-290 - Data tables don't let you edit asset/class references in the row editor panel
Also fixed the fact that the properties panel wouldn't scroll.
[CL 2497080 by Jamie Dale in Main branch]
UETOOL-291 - Improve the data table UI
The column sizes in the data table can now be resized as desired, and also default to being sized to match their content rather than as a simple proportion of their parent size. Any resized columns are remembered between editing sessions.
The data table view now scrollable horizontally as well as vertically to account for the fact that the data may now be wider than the current view.
[CL 2495732 by Jamie Dale in Main branch]
UETOOL-281 - Improve data table workflows
UETOOL-282 - Data tables cannot be exported as CSV
UETOOL-289 - Data tables cannot represent arrays in their CSV data
Split up the util functions into their own file (DataTableUtils).
Split up the CSV exporting/importing into its own file (DataTableCSV).
Split up the JSON exporting/importing into its own file (DataTableJSON).
Added support for exporting/importing/displaying array properties.
Added the ability to export a data table as CSV.
Added the ability to import a data table from JSON.
[CL 2494005 by Jamie Dale in Main branch]
UETOOL-213 - Minimize Slate FString -> FText conversion (remove SLATE_TEXT_ATTRIBUTE)
This fixes any editor/engine specific code that was passing text to Slate as FString rather than FText.
[CL 2401019 by Jamie Dale in Main branch]
UETOOL-213 - Minimize Slate FString -> FText conversion (remove SLATE_TEXT_ATTRIBUTE)
This fixes any editor/engine specific code that was passing text to Slate as FString rather than FText.
[CL 2399803 by Jamie Dale in Main branch]
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]
* 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]
- Window menu is now sectioned and labeled based on the current editor. There's now a local workspace root member in FTabManager and a workspace category in FAssetEditorToolkit (both are FWorkspaceItem objects). Individual editors attach their local category to the tab manager's local root. Workflow app modes have their own category members that are swapped out when the mode changes.
- Finally, the AssetEditorCategory of FWorkspaceMenuStructure has been removed entirely.
- Replaced the AddMenuSeparator() call in FTabManager::PopulateSpawnerMenu_Helper() with a section of the same title as the workspace category.
- Tab spawner menu entries for the local editor now properly show the icon of the associated tab. To accomplish this it was necessary to change FWorkflowTabFactory::TabIcon to be an FSlateIcon instead of an FSlateBrush*. All factory instances have been updated accordingly.
- Added & updated lots of icons! (those missing will be TTP'd)
- The nomad tab spawner section (named "General" in the menu) has been largely compressed into the Developer Tools submenu, which has also been organized into sections for readability.
- Unreal frontend options were also moved into a context menu within the General section
- Moved all experimental tools to their own section of the Window menu. When they're no longer experimental they should register as nomads in the appropriate category
- Undo history now under Edit menu
[CL 2324285 by Dan Hertzka in Main branch]