14 Commits

Author SHA1 Message Date
2d8c97b5f0 NewItemDialog uses dynamically generated control widgets for model data as well. Added a WidgetHelper class to consolidate identical source code for ItemDetailMapper and NewItemDialog. 2026-03-02 19:25:27 +01:00
0e7f803d42 Refactored ItemDetailMapper to encapsulate widget creation and their mappings into functions to be able to iterate over meta data to auto generate them. (Only working for string roles for now) 2026-03-02 14:09:55 +01:00
34a34891b4 In SettingsDialog: Disabled the email and password input edits. 2026-02-03 12:12:51 +01:00
4c4d734b1b Added a SettingsDialog with a "Server" tab to configure the server settings. 2026-02-03 11:22:55 +01:00
a9f24ac8f2 Adjusted to GenericCore::postItemsToServer and using ModelItemsValues typedef in new item dialog. 2026-02-02 16:25:17 +01:00
8f61c6bc2f Bugfix: Save changes when closing the EditItemDialog. 2026-01-19 18:40:39 +01:00
a966b26185 Getting rid of warning, that a widget has already a layout. 2026-01-19 14:43:07 +01:00
a8bf5b4032 Displaying a QR code in the EditItemDialog containing the full data of the current item as a string. 2026-01-15 14:06:02 +01:00
683f5d224c Changing submit policy of QDataWidgetMapper to AutoSubmit because if multiple changes are made at once not all of them are applied. 2026-01-01 09:59:12 +01:00
bcba8f8452 Using JsonParser to generate JSON document to pass in the addItems signal & using roles instead of their names (compiler will complain if a role is not existent anymore). 2025-12-31 10:47:28 +01:00
d94a928fc0 Merge branch 'feature/UndoRedoWithModelData' into develop 2025-12-22 15:53:16 +01:00
b3f83ccdb0 Using QDataWidgetMapper in ItemDetailMapper to work with the model data (current index of the TableView). 2025-12-22 11:21:44 +01:00
8d523bb5bc Moved EditItemDialog content widget into separate widget class ItemDetailMapper. 2025-12-18 11:00:53 +01:00
467ab58fae Renamed source code folder "Dialogs" into "dialogs". 2025-12-17 10:39:34 +01:00