new report dialog

This commit is contained in:
Martin Brodbeck 2018-07-30 09:50:54 +02:00
parent efb1f3ffbf
commit 06c99052df
12 changed files with 334 additions and 1 deletions

26
src/gui/reportdialog.h Normal file
View file

@ -0,0 +1,26 @@
#ifndef REPORT_DIALOG_H
#define REPORT_DIALOG_H
#include "ui_reportdialog.h"
#include "reportmodel.h"
#include <marketplace.h>
#include <QDialog>
class ReportDialog : public QDialog
{
Q_OBJECT
public:
ReportDialog(QWidget* parent = nullptr,
Qt::WindowFlags f = Qt::WindowTitleHint | Qt::WindowSystemMenuHint);
private:
Ui::ReportDialog ui_;
Marketplace* market_;
std::unique_ptr<ReportModel> model_;
};
#endif