You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
667 B
C++
34 lines
667 B
C++
#ifndef RECEIPTLOADFORM_H
|
|
#define RECEIPTLOADFORM_H
|
|
|
|
#include <QDialog>
|
|
#include "data/voucher.h"
|
|
#include <autotablemodel.h>
|
|
|
|
namespace Ui {
|
|
class ReceiptLoadForm;
|
|
}
|
|
|
|
class ReceiptLoadForm : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit ReceiptLoadForm(QWidget *parent = 0);
|
|
~ReceiptLoadForm();
|
|
QList<VoucherItemPtr> selectedItems();
|
|
VoucherPtr selectedVoucher();
|
|
|
|
private slots:
|
|
void on_lineEdit_textChanged(const QString &text);
|
|
|
|
void on_selectAllCheck_clicked(bool checked);
|
|
|
|
private:
|
|
Ui::ReceiptLoadForm *ui;
|
|
AutoTableModel<Voucher> *m_voucherModel;
|
|
AutoTableModel<VoucherItem> *m_itemModel;
|
|
};
|
|
|
|
#endif // RECEIPTLOADFORM_H
|