#ifndef DASHBOARD_H #define DASHBOARD_H #include #include class MainWindow; namespace Ui { class Dashboard; } class Dashboard : public QDockWidget { Q_OBJECT public: explicit Dashboard(MainWindow *main, QWidget *parent = 0); ~Dashboard(); private slots: void updateContents(); private: std::unique_ptr ui; MainWindow *main; }; #endif // DASHBOARD_H