Files

32 lines
616 B
C++
Raw Permalink Normal View History

2016-04-07 22:22:53 +02:00
#ifndef RECEIPTLOADFORM_H
#define RECEIPTLOADFORM_H
#include <QDialog>
2016-07-06 21:37:46 +02:00
#include "data/voucher.h"
#include <autotablemodel.h>
2016-04-07 22:22:53 +02:00
namespace Ui {
class ReceiptLoadForm;
}
class ReceiptLoadForm : public QDialog
{
Q_OBJECT
public:
explicit ReceiptLoadForm(QWidget *parent = 0);
~ReceiptLoadForm();
2016-08-03 18:24:15 +02:00
QList<VoucherItemPtr> selectedItems();
VoucherPtr selectedVoucher();
2016-04-07 22:22:53 +02:00
2016-07-06 21:37:46 +02:00
private slots:
void on_lineEdit_textChanged(const QString &text);
2016-04-07 22:22:53 +02:00
private:
Ui::ReceiptLoadForm *ui;
2016-07-06 21:37:46 +02:00
AutoTableModel<Voucher> *m_voucherModel;
AutoTableModel<VoucherItem> *m_itemModel;
2016-04-07 22:22:53 +02:00
};
#endif // RECEIPTLOADFORM_H