32 lines
577 B
C++
32 lines
577 B
C++
#ifndef EDITITEMDIALOG_H
|
|
#define EDITITEMDIALOG_H
|
|
|
|
#include "abstractdialog.h"
|
|
|
|
class QDoubleSpinBox;
|
|
class QLineEdit;
|
|
class QSpinBox;
|
|
class QLabel;
|
|
class QTableView;
|
|
|
|
class ItemDetailMapper;
|
|
|
|
class EditItemDialog : public AbstractDialog {
|
|
Q_OBJECT
|
|
public:
|
|
EditItemDialog(QTableView* tableView, QWidget* parent = nullptr);
|
|
|
|
/// AbstractDialog interface
|
|
void createContent() override;
|
|
|
|
public slots:
|
|
void accept() override;
|
|
void reject() override;
|
|
|
|
private:
|
|
QTableView* m_tableView = nullptr;
|
|
ItemDetailMapper* m_detailMapper;
|
|
};
|
|
|
|
#endif // EDITITEMDIALOG_H
|