Commit Graph

28 Commits

Author SHA1 Message Date
08c2e3a093 Added IdRole for the server generated UUID of the items. 2026-01-29 09:27:50 +01:00
bc96a805f8 An item (with hard coded values) can be send to the server. Added signals for fetching and posting items to be triggered from the UI. 2026-01-29 08:54:47 +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
e1bc779791 Added QAbstractItemModelTester to main and proxy model. And fixing errors in functions flags(...), rowCount(...) and columnCount(...). 2026-01-19 18:43:13 +01:00
a6512f2c67 Added a QSortFilterProxyModel subclass to enable sorting by different columns in the views. 2026-01-12 09:56:50 +01:00
8d4260b18d Items can be saved before starting the updater. 2026-01-06 10:15:35 +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
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
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
0e1a0d4959 Items can be saved to JSON file "items.json" (in standard location). 2025-12-23 10:14:13 +01:00
2c3d49db30 Setting the application name with "-dev" suffix in debug builds and setting the organization name (for storing configs and other files in proper directory). 2025-12-23 10:11:38 +01:00
0166a00d9d Adding new items to the model can now be made undone/redone. 2025-12-11 15:47:55 +01:00
432e81d4be Merge branch 'develop' into feature/UndoRedoWithModelData 2025-12-09 09:57:22 +01:00
4c906099eb Items can be added to model dynamically. 2025-12-08 13:25:02 +01:00
144460b5aa Start with the current data, when editing a table cell. 2025-12-06 14:34:17 +01:00
5b5713c89f Added a QUndoStack and made it accessible for UIs. 2025-12-06 10:34:44 +01:00
0dba9639e6 Added a ModelItem class to hold the data for each row. 2025-12-03 11:07:39 +01:00
6a3725bde7 Added a simple read-only TableModel and made it accessible via GenericCore.
Basically like in this tutorial: https://doc.qt.io/qt-6/modelview.html#2-1-a-read-only-table
2025-12-02 16:09:34 +01:00
13b53683a5 Retrieving Application name from umbrella project and using it to determine the path of the QtMaintenanceTool. 2025-11-01 10:52:04 +01:00
7ba0304232 Added SettingsHandler class. 2025-10-31 15:24:06 +01:00
d943f2d89a Added checking for update and triggering the updater. 2025-10-31 14:47:27 +01:00
7ec346b5a5 Retrieving core name and version from CMakeLists.txt and use it in GenericCore::toString(). 2025-10-03 11:15:06 +02:00
b631f4200e Added toString() method. 2025-10-02 16:22:47 +02:00
0bbac662f4 Using qDebug() instead of iostream::cout(). And formatted files with clangformat. 2025-10-02 16:22:01 +02:00
fd32b85554 Added some console outputs to use library. 2025-10-02 13:42:13 +02:00
3447bbbb3b initial commit 2025-10-02 11:19:14 +02:00