Commit Graph

11 Commits

Author SHA1 Message Date
08c2e3a093 Added IdRole for the server generated UUID of the items. 2026-01-29 09:27:50 +01:00
99ed398c2f Simple implementation of CSV export. 2026-01-06 10:04:26 +01:00
3e6273cb7d Using the typedef ModelItemValues for "QHash<int, QVariant>". 2026-01-04 17:48:27 +01:00
2702b9c835 Simple implementation of CSV file import. Successfully imported items are appended to the model. 2026-01-04 13:38:54 +01:00
3266c99fc3 Bugfix: When parsing JSON data to item values all the values were converted to strings. 2026-01-01 10:26:29 +01:00
b8fe4e6502 Iterating over USER_FACING_ROLES to get all the item values when parsing and keeping them in edit and remove commands. Instead of using each role explicitly. 2025-12-31 10:39:32 +01:00
acb8be5602 Refactored JsonParser to not use roles (or their names) directly. 2025-12-29 13:03:09 +01:00
3610aa3841 Using "model/metadata.h" for file and JSON object naming as well. Using all upper case for naming static meta data constants and functions. 2025-12-29 10:35:00 +01:00
0c3d711513 Moved the model meta data for roles and columns into "model/metadata.h" to gather meta data like this in one central place. 2025-12-29 10:30:12 +01:00
1fc1b1715d Items are loaded from default JSON file in standard location at startup. If no items are found in file, example items are generated. 2025-12-23 13:40:33 +01:00
4c906099eb Items can be added to model dynamically. 2025-12-08 13:25:02 +01:00