UI for load and save receipts.

This commit is contained in:
2016-07-06 21:37:46 +02:00
parent a8f4ad4a04
commit 5e7549d8a6
8 changed files with 110 additions and 12 deletions
+6 -1
View File
@@ -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