UI for load and save receipts.
This commit is contained in:
@@ -15,7 +15,7 @@ class ReceiptSaveForm : public QDialog
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit ReceiptSaveForm(QWidget *parent = 0);
|
||||
explicit ReceiptSaveForm(QSharedPointer<Voucher> voucher, QWidget *parent = 0);
|
||||
~ReceiptSaveForm();
|
||||
|
||||
private slots:
|
||||
@@ -28,6 +28,11 @@ private:
|
||||
ObjectBinder m_binder;
|
||||
AutoTableModel<Voucher> *m_voucherModel;
|
||||
bool m_saveAsNew;
|
||||
QSharedPointer<Voucher> m_voucher;
|
||||
|
||||
// QDialog interface
|
||||
public slots:
|
||||
virtual void accept() override;
|
||||
};
|
||||
|
||||
#endif // RECEIPTSAVEFORM_H
|
||||
|
||||
Reference in New Issue
Block a user