#ifndef SETTINGSDIALOG_H #define SETTINGSDIALOG_H #include #include "mainwindow.h"; class MainWindow; namespace Ui { class SettingsDialog; } class SettingsDialog : public QDialog { Q_OBJECT public: explicit SettingsDialog(QWidget *parent = 0); ~SettingsDialog(); void setMainWindow(MainWindow *window); void updateSettings(int refresh, int inactiveThreshold, bool physics, bool latency, bool throughput, bool sigStr, bool inactivity); private: Ui::SettingsDialog *ui; MainWindow * main; private slots: void on_buttonBox_rejected(); void on_buttonBox_accepted(); }; #endif // SETTINGSDIALOG_H