Imported existing sources

This commit is contained in:
0xFEEDC0DE64
2018-09-17 19:43:50 +02:00
parent 6c1c9eefd6
commit b24ac9e00a
11 changed files with 372 additions and 0 deletions
+36
View File
@@ -0,0 +1,36 @@
#pragma once
#include <QLabel>
#include <QDate>
#include <QUrl>
#include "replies/getreportreply.h"
class QAction;
class MainWindow;
class ReportsWidget : public QLabel
{
Q_OBJECT
public:
explicit ReportsWidget(MainWindow &mainWindow);
private Q_SLOTS:
void dateChanged(const QDate &date);
void refresh();
void finished();
void openReport();
private:
MainWindow &m_mainWindow;
QAction *m_actionOpenReport;
QAction *m_actionRefreshReport;
QDate m_date;
QUrl m_url;
std::unique_ptr<GetReportReply> m_reply;
};