UI functions on Save receipt form.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user