|
|
a9a4b39da1
|
Don't set missing model item values to default value from JSON object.
|
2026-03-14 09:29:43 +01:00 |
|
|
|
f694e0e5ed
|
Further refactoring after the addition of the type role.
|
2026-03-01 11:11:46 +01:00 |
|
|
|
becde8c794
|
Added type role and column & refactored the JsonParser in the process.
|
2026-03-01 10:59:34 +01:00 |
|
|
|
b6c49dda20
|
Minor clean up in JsonParser.
|
2026-02-03 12:05:52 +01:00 |
|
|
|
63fe96fb2e
|
On sending (posting) item to the server the generated UUID is added to the local item.
|
2026-02-02 16:13:44 +01:00 |
|
|
|
08c2e3a093
|
Added IdRole for the server generated UUID of the items.
|
2026-01-29 09:27:50 +01:00 |
|
|
|
3e6273cb7d
|
Using the typedef ModelItemValues for "QHash<int, QVariant>".
|
2026-01-04 17:48:27 +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 |
|