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.
prodejna/shop/temporaryreceiptsaveform.h

33 lines
649 B
C++

#ifndef TEMPORARYRECEIPTSAVEFORM_H
#define TEMPORARYRECEIPTSAVEFORM_H
#include <QDialog>
#include <QSharedPointer>
#include <objectbinder.h>
#include "data/voucher.h"
namespace Ui {
class TemporaryReceiptSaveForm;
}
class TemporaryReceiptSaveForm : public QDialog
{
Q_OBJECT
public:
explicit TemporaryReceiptSaveForm(QSharedPointer<Voucher> voucher, QWidget *parent = 0);
~TemporaryReceiptSaveForm();
private:
Ui::TemporaryReceiptSaveForm *ui;
QSharedPointer<Voucher> m_voucher;
ObjectBinder m_binder;
// QDialog interface
public slots:
virtual void accept() override;
};
#endif // TEMPORARYRECEIPTSAVEFORM_H