Added the type role to the EditItemDialog.
This commit is contained in:
@ -1,7 +1,9 @@
|
||||
#ifndef ITEMDETAILMAPPER_H
|
||||
#define ITEMDETAILMAPPER_H
|
||||
|
||||
#include <QComboBox>
|
||||
#include <QDataWidgetMapper>
|
||||
#include <QStringListModel>
|
||||
#include <QWidget>
|
||||
|
||||
class QLabel;
|
||||
@ -54,6 +56,10 @@ class ItemDetailMapper : public QWidget {
|
||||
QLabel* m_infoLabel = nullptr;
|
||||
QLineEdit* m_infoEdit = nullptr;
|
||||
|
||||
QLabel* m_typeLabel;
|
||||
QComboBox* m_typeBox;
|
||||
QStringListModel* m_typeModel = nullptr;
|
||||
|
||||
QLabel* m_amountLabel = nullptr;
|
||||
QSpinBox* m_amountBox = nullptr;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user