|
|
0a2b0d840b
|
Added NUMBER_ROLES to metadata.h for use in GUI source code.
|
2026-04-08 17:23:05 +02:00 |
|
|
|
54d537dc9b
|
Roles can now be declared read-only. First read-only role: IdRole
|
2026-04-02 09:37:36 +02:00 |
|
|
|
5b62f9461b
|
CSV import has now support for optional columns.
|
2026-03-12 10:37:12 +01:00 |
|
|
|
c1ee2135df
|
TableModel::setData can now be called for column 0 with different roles to edit. (Doesn't rely on Qt::EditRole and RoleForColumn in all cases)
|
2026-03-09 07:46:28 +01:00 |
|
|
|
a6648b7d1e
|
Added "display" as role name. (For the QML UI)
|
2026-03-05 12:30:43 +01:00 |
|
|
|
f392efb54f
|
Added static GET_HEADER_FOR_COLUMN(const int column) function.
|
2026-03-02 16:25:01 +01:00 |
|
|
|
becde8c794
|
Added type role and column & refactored the JsonParser in the process.
|
2026-03-01 10:59:34 +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 |
|
|
|
bedf8084d3
|
Retrieving the JSON data of the current index to send to the server through the proxy model. Sending this data happens by triggering the core.
|
2026-01-29 13:13:32 +01:00 |
|
|
|
2a152daa70
|
Using lower case role names for improved compatibility with the server.
|
2026-01-29 13:06:46 +01:00 |
|
|
|
08c2e3a093
|
Added IdRole for the server generated UUID of the items.
|
2026-01-29 09:27:50 +01:00 |
|
|
|
e29cd0aebf
|
Basic JSON RESTful client fetching items from a local server at application start and adding them to the model.
|
2026-01-25 10:47:19 +01:00 |
|
|
|
caffa1c18a
|
Added a ToStringRole to summarize the model items (for tool tip and QR code).
|
2026-01-15 14:04:37 +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 |
|
|
|
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 |
|