37 lines
750 B
C++
37 lines
750 B
C++
#ifndef EDITITEMDIALOG_H
|
|
#define EDITITEMDIALOG_H
|
|
|
|
#include "abstractdialog.h"
|
|
|
|
class QDoubleSpinBox;
|
|
class QLineEdit;
|
|
class QSpinBox;
|
|
class QLabel;
|
|
|
|
class EditItemDialog : public AbstractDialog {
|
|
Q_OBJECT
|
|
public:
|
|
EditItemDialog(QWidget* parent = nullptr);
|
|
|
|
/// AbstractDialog interface
|
|
void createContent() override;
|
|
|
|
private:
|
|
QLabel* m_nameLabel = nullptr;
|
|
QLineEdit* m_nameEdit = nullptr;
|
|
|
|
QLabel* m_descriptionLabel = nullptr;
|
|
QLineEdit* m_descriptionEdit = nullptr;
|
|
|
|
QLabel* m_infoLabel = nullptr;
|
|
QLineEdit* m_infoEdit = nullptr;
|
|
|
|
QLabel* m_amountLabel = nullptr;
|
|
QSpinBox* m_amountBox = nullptr;
|
|
|
|
QLabel* m_factorLabel = nullptr;
|
|
QDoubleSpinBox* m_factorBox = nullptr;
|
|
};
|
|
|
|
#endif // EDITITEMDIALOG_H
|