NewItemDialog uses dynamically generated control widgets for model data as well. Added a WidgetHelper class to consolidate identical source code for ItemDetailMapper and NewItemDialog.

This commit is contained in:
2026-03-02 19:25:27 +01:00
parent 2fb7560e6e
commit 2d8c97b5f0
7 changed files with 146 additions and 97 deletions

View File

@ -58,8 +58,6 @@ class ItemDetailMapper : public QWidget {
void setupWidgets();
void setupWidgetPairForColumn(const int column);
QWidget* createControlWidget(const UserRoles role);
QWidget* createComboBox(const UserRoles role);
void clearControlWidgets();
void clearLineEdit(const int column);