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
503 B
C++
34 lines
503 B
C++
#ifndef REPORTDIALOG_H
|
|
#define REPORTDIALOG_H
|
|
|
|
#include <QDialog>
|
|
#include "report.h"
|
|
|
|
namespace Ui {
|
|
class ReportDialog;
|
|
}
|
|
|
|
class ReportDialog : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit ReportDialog(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;
|
|
};
|
|
|
|
#endif // REPORTDIALOG_H
|