#ifndef RECEIPTLOADFORM_H #define RECEIPTLOADFORM_H #include #include "data/voucher.h" #include namespace Ui { class ReceiptLoadForm; } class ReceiptLoadForm : public QDialog { Q_OBJECT public: explicit ReceiptLoadForm(QWidget *parent = 0); ~ReceiptLoadForm(); QList selectedItems(); VoucherPtr selectedVoucher(); private slots: void on_lineEdit_textChanged(const QString &text); void on_selectAllCheck_clicked(bool checked); private: Ui::ReceiptLoadForm *ui; AutoTableModel *m_voucherModel; AutoTableModel *m_itemModel; }; #endif // RECEIPTLOADFORM_H