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.

36 lines
605 B
C

#ifndef REPORTDIALOG_H
#define REPORTDIALOG_H
#include <QDialog>
#include "report.h"
#include "../core_global.h"
namespace Ui {
class ReportDialog;
}
class CORESHARED_EXPORT ReportDialog : public QDialog
{
Q_OBJECT
public:
explicit ReportDialog(bool recordSelected = false, QWidget *parent = 0);
~ReportDialog();
void setReports(ReportList reports);
private slots:
void on_btnPreview_clicked();
void on_btnPrint_clicked();
void on_btnClose_clicked();
private:
Ui::ReportDialog *ui;
ReportList m_reports;
bool m_recordSelected;
};
#endif // REPORTDIALOG_H