63 Commits

Author SHA1 Message Date
6408eaa10a Refactored the creation of control widgets. 2026-04-02 09:51:04 +02:00
24192df5d6 Using the new SpinBoxDelegate in int and double columns even if the cell is empty. 2026-03-14 09:35:42 +01:00
c7b0e4f3e5 Removed status message which overwrites message from the core on CSV import. 2026-03-12 10:38:31 +01:00
7fa8612313 Removed not used icon and renamed the application icon properly. 2026-03-06 11:07:05 +01:00
8dbceabb8a Removed messagehandler.h because it now lives in the GenericCore project. 2026-03-03 18:55:55 +01:00
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
2fb7560e6e Minor refactoring of ItemDetailMapper. 2026-03-02 18:51:31 +01:00
560cadb2c0 All mapped control widgets (plus labels) are dynamically generated from meta data. 2026-03-02 17:11:31 +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
d56af7231c Added the type role to the EditItemDialog. 2026-03-02 08:43:21 +01:00
385dc7ca76 Added a ComboBoxDelegate for the new "type" role. 2026-03-01 11:42:30 +01:00
5e3950f6ba Bumped version to 0.3.0. 2026-02-04 11:28:11 +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
0eef55fc32 Don't use the SettingsHandler directly. Go through the GenericCore instead. 2026-02-03 11:21:33 +01:00
d109eb31f8 Added "Server/Delete item" menu action. 2026-02-02 16:30:59 +01:00
a9f24ac8f2 Adjusted to GenericCore::postItemsToServer and using ModelItemsValues typedef in new item dialog. 2026-02-02 16:25:17 +01:00
67d9a3914d Retrieving JSON data from the proxy model and send it via core to the server. 2026-01-29 15:11:59 +01:00
518bebcbb7 Added "Server" menu with "fetch items" and "post items" actions to trigger communication with the RESTful server. 2026-01-29 09:00:12 +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
c83ba2da9d Bumped version to 0.2.0. 2026-01-14 10:27:38 +01:00
232b9ceb78 Added a find items dialog to select items based on if they contain a specific text. 2026-01-12 15:02:34 +01:00
e915846b8a Merge branch 'feature/proxySortFilterModel' into develop 2026-01-12 10:17:58 +01:00
8a0d37f8f9 Not using the TableModel directly anymore. Removing and appending items via GeneralSortFilterModel. 2026-01-12 10:15:05 +01:00
bd056a00ce Using the new QSortFilterProxyModel subclass of the core for the TableView. 2026-01-12 09:57:44 +01:00
5eee7a4a75 Informing the core, that unsaved changes to the items should be saved before starting the updater. 2026-01-06 10:17:15 +01:00
3cab6d6b86 Model data can be exported to CSV file. 2026-01-06 10:05:16 +01:00
78a55b6559 Model items can be imported from CSV file. 2026-01-04 16:52:03 +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
12e5596b34 Merge branch 'feature/saveLoadItemsInFromFile' into develop 2025-12-23 14:02:12 +01:00
8333be2044 Items can be saved via menu action and when exiting application with unclean undo stack. 2025-12-23 10:18:00 +01:00
6cd0519237 Using the application name set in the core (with "-dev" suffix in debug builds) as window title. 2025-12-23 10:08:11 +01:00
d94a928fc0 Merge branch 'feature/UndoRedoWithModelData' into develop 2025-12-22 15:53:16 +01:00
fd7e0975f5 Merge branch 'feature/UndoRedoWithModelData' into develop 2025-12-22 11:39:03 +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
47338e5ae2 Added an EditItemDialog dummy, based on the NewItemDialog. 2025-12-17 10:33:18 +01:00
902ed1c84b Added a undo view and react to change of the cleanness of the undo stack. 2025-12-11 16:01:48 +01:00
ec0d72953f Merge branch 'develop' into feature/UndoRedoWithModelData 2025-12-09 09:59:16 +01:00
c80a692a28 Selected items can be deleted from model via menu action "Delete item(s)" 2025-12-08 15:05:04 +01:00
c51c06ba50 The "factor" value can be inserted as a floating point. 2025-12-08 13:28:01 +01:00
ea75e57dbf An item can be added to the model with accepting the NewItemDialog. 2025-12-08 13:26:42 +01:00
928b795f4e Added an AbstractDialog class and using it as base for a NewItemDialog class (no new item functionality yet). 2025-12-07 14:50:58 +01:00
370bcd5a41 Retrieve QUndoStack pointer from core and create actions for undo and redo. 2025-12-06 10:36:21 +01:00
c7012ceff5 Added menu action dummies for the menus "File" and "Edit". 2025-12-04 16:44:31 +01:00
5e54f52cd6 Removed obsolete TODO comment. 2025-12-03 11:09:13 +01:00