Commit Graph

12 Commits

Author SHA1 Message Date
Jamie Dale
4e1c779078 Improved the property filtering options when creating a structure detail view
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]
2015-04-22 07:29:04 -04:00
Jamie Dale
4b3576349f Data table undo/redo support
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]
2015-04-14 09:30:09 -04:00
Jamie Dale
444ac09bfd Converted the data table editor to use SListView
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]
2015-04-10 13:06:36 -04:00
Mikolaj Sieluzycki
a96989f147 Add includes to files to remove the need of including Engine.h.
[CL 2508000 by Mikolaj Sieluzycki in Main branch]
2015-04-10 03:30:54 -04:00
Jamie Dale
c723773762 Added the ability to re-order rows in the data table editor
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]
2015-03-31 12:04:50 -04:00
Jamie Dale
21e83235c8 Added the ability for data tables to edit class and object properties
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]
2015-03-31 08:28:35 -04:00
Jamie Dale
6af0f20199 Data table improvements
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]
2015-03-27 12:29:42 -04:00
Maciej Mroz
dbf32b9124 DataTable RowEditor: When you changed name of row, and selected new row without hitting enter, name is changed on the newly selected row, instead of the old one, which works counter intuitive.
#688 based on pull request

[CL 2388878 by Maciej Mroz in Main branch]
2014-12-15 15:30:22 -05:00
Maciej Mroz
e2c0c2ccfc DataTableEditor UI: A row can be selected (in Row Editor tab) by clicking on Data Table Editor tab. UI tweaks.
#codereview Matt.Kuhlenschmidt

[CL 2385590 by Maciej Mroz in Main branch]
2014-12-11 10:59:40 -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
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
Maciej Mroz
ee4921520c Data Table Row Editor first version.
Editor Utils refactored.
Some fixes in GetDataTableRow.

[CL 2369718 by Maciej Mroz in Main branch]
2014-11-25 09:36:31 -05:00