Added roles for BeetRound purpose.
This commit is contained in:
@ -3,6 +3,9 @@
|
||||
|
||||
#include "abstractdialog.h"
|
||||
|
||||
#include <QComboBox>
|
||||
|
||||
class QStringListModel;
|
||||
class QDoubleSpinBox;
|
||||
class QLineEdit;
|
||||
class QSpinBox;
|
||||
@ -24,20 +27,40 @@ class NewItemDialog : public AbstractDialog {
|
||||
// void reject() override;
|
||||
|
||||
private:
|
||||
QLabel* m_nameLabel = nullptr;
|
||||
QLineEdit* m_nameEdit = nullptr;
|
||||
QLabel* m_numberLabel;
|
||||
QSpinBox* m_numberBox;
|
||||
|
||||
QLabel* m_descriptionLabel = nullptr;
|
||||
QLineEdit* m_descriptionEdit = nullptr;
|
||||
QLabel* m_lastNameLabel;
|
||||
QLineEdit* m_lastNameEdit;
|
||||
|
||||
QLabel* m_infoLabel = nullptr;
|
||||
QLineEdit* m_infoEdit = nullptr;
|
||||
QLabel* m_firstNameLabel;
|
||||
QLineEdit* m_firstNameEdit;
|
||||
|
||||
QLabel* m_amountLabel = nullptr;
|
||||
QSpinBox* m_amountBox = nullptr;
|
||||
QLabel* m_shareTypeLabel;
|
||||
QComboBox* m_shareTypeBox;
|
||||
QStringListModel* m_shareTypeModel = nullptr;
|
||||
|
||||
QLabel* m_factorLabel = nullptr;
|
||||
QDoubleSpinBox* m_factorBox = nullptr;
|
||||
QLabel* m_amountLabel;
|
||||
QDoubleSpinBox* m_amountSpinBox;
|
||||
|
||||
QLabel* m_biddingTypeLabel;
|
||||
QComboBox* m_biddingTypeBox;
|
||||
QStringListModel* m_biddingTypeModel = nullptr;
|
||||
|
||||
QLabel* m_bidding1Label;
|
||||
QSpinBox* m_bidding1SpinBox;
|
||||
QLabel* m_bidding2Label;
|
||||
QSpinBox* m_bidding2SpinBox;
|
||||
QLabel* m_bidding3Label;
|
||||
QSpinBox* m_bidding3SpinBox;
|
||||
|
||||
QLabel* m_depotWish1Label;
|
||||
QLineEdit* m_depotWish1Edit;
|
||||
QLabel* m_depotWish2Label;
|
||||
QLineEdit* m_depotWish2Edit;
|
||||
|
||||
QLabel* m_mailLabel;
|
||||
QLineEdit* m_mailEdit;
|
||||
};
|
||||
|
||||
#endif // NEWITEMDIALOG_H
|
||||
|
||||
Reference in New Issue
Block a user