[Companion] Refactor settings system (CompStoreObj/AppData/etc):

~ All stored properties are fully dynamic, using an extended version of the Qt Property System;
 ~ CompStoreObj is now QObject subclass;
 + All properties now have change notifier signals;
 ~ Do not store default values in settings;
 + Add _reset() and _default() functions for each property;
 + Settings import now ignores all non-existent properties automatically;
 + Add settings export functions;
 + Add more version macros;
 ~ Remove template functions;
 ~ Move DownloadBranchType and create NewModelAction enums and register with Qt meta system;
 ~ Multiple efficiency and optimization changes (const functions, literals, etc).
This commit is contained in:
Max Paperno
2018-06-29 20:00:10 -04:00
parent 2869d8574d
commit 988c837011
13 changed files with 1087 additions and 1055 deletions
+1 -1
View File
@@ -156,7 +156,7 @@ CommandLineParseResult cliOptions(SimulatorOptions * simOptions, int * profileId
}
if (cliOptions.isSet(optVer)) {
showMessage(APP_SIMULATOR " v" VERSION " " __DATE__, QMessageBox::Information);
showMessage(APP_SIMULATOR % " v" VERSION " " __DATE__, QMessageBox::Information);
return CommandLineExitOk;
}