UI functions on Save receipt form.

This commit is contained in:
2016-06-03 15:55:21 +02:00
parent 5035c4ce05
commit 4593161261
9 changed files with 278 additions and 104 deletions
+11
View File
@@ -2,6 +2,9 @@
#define RECEIPTSAVEFORM_H
#include <QDialog>
#include <objectbinder.h>
#include <autotablemodel.h>
#include "data/voucher.h"
namespace Ui {
class ReceiptSaveForm;
@@ -15,8 +18,16 @@ public:
explicit ReceiptSaveForm(QWidget *parent = 0);
~ReceiptSaveForm();
private slots:
void on_lineEdit_textChanged(const QString &text);
void on_radioAdd_toggled(bool checked);
private:
Ui::ReceiptSaveForm *ui;
ObjectBinder m_binder;
AutoTableModel<Voucher> *m_voucherModel;
bool m_saveAsNew;
};
#endif // RECEIPTSAVEFORM_H