2017-03-29 10:18:37 +00:00
|
|
|
#ifndef DASHBOARD_H
|
|
|
|
#define DASHBOARD_H
|
|
|
|
|
2017-10-02 09:41:28 +00:00
|
|
|
#include <memory>
|
2017-03-29 10:18:37 +00:00
|
|
|
|
2017-11-19 12:56:10 +00:00
|
|
|
#include <QDockWidget>
|
|
|
|
|
2017-03-29 10:18:37 +00:00
|
|
|
class MainWindow;
|
|
|
|
|
2017-04-09 19:55:06 +00:00
|
|
|
namespace Ui
|
|
|
|
{
|
|
|
|
class Dashboard;
|
2017-03-29 10:18:37 +00:00
|
|
|
}
|
|
|
|
|
2017-11-19 12:56:10 +00:00
|
|
|
class Dashboard : public QDockWidget
|
2017-03-29 10:18:37 +00:00
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit Dashboard(MainWindow *main, QWidget *parent = 0);
|
|
|
|
~Dashboard();
|
|
|
|
|
2017-11-19 12:56:10 +00:00
|
|
|
private slots:
|
2017-04-13 15:14:02 +00:00
|
|
|
void updateContents();
|
2017-03-29 10:18:37 +00:00
|
|
|
|
2017-11-19 12:56:10 +00:00
|
|
|
private:
|
2017-10-02 09:41:28 +00:00
|
|
|
std::unique_ptr<Ui::Dashboard> ui;
|
2017-03-29 10:18:37 +00:00
|
|
|
MainWindow *main;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // DASHBOARD_H
|