mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-29 23:40:04 -06:00
New XML format for browse data table settings in project files
Browse data table settings are now saved in the project files using a pure tagged XML format. This would make easier the generation of our project files by external tools or direct human edition of the project files. Compatibility with the older format is preserved in the loading. Previous software versions have been tested with the new format, and they are also able to load the new project files ignoring these new tags. See related issue #1306
This commit is contained in:
@@ -45,22 +45,6 @@ struct BrowseDataTableSettings
|
||||
{
|
||||
}
|
||||
|
||||
friend QDataStream& operator<<(QDataStream& stream, const BrowseDataTableSettings& object)
|
||||
{
|
||||
stream << object.sortOrderIndex;
|
||||
stream << static_cast<int>(object.sortOrderMode);
|
||||
stream << object.columnWidths;
|
||||
stream << object.filterValues;
|
||||
stream << object.displayFormats;
|
||||
stream << object.showRowid;
|
||||
stream << object.encoding;
|
||||
stream << object.plotXAxis;
|
||||
stream << object.plotYAxes;
|
||||
stream << object.unlockViewPk;
|
||||
stream << object.hiddenColumns;
|
||||
|
||||
return stream;
|
||||
}
|
||||
friend QDataStream& operator>>(QDataStream& stream, BrowseDataTableSettings& object)
|
||||
{
|
||||
stream >> object.sortOrderIndex;
|
||||
|
||||
Reference in New Issue
Block a user