Monitor
settingsdialog.h
00001 #ifndef SETTINGSDIALOG_H
00002 #define SETTINGSDIALOG_H
00003 
00004 #include <QDialog>
00005 #include "mainwindow.h";
00006 
00007 class MainWindow;
00008 namespace Ui {
00009     class SettingsDialog;
00010 }
00011 
00012 class SettingsDialog : public QDialog
00013 {
00014     Q_OBJECT
00015 
00016 public:
00017     explicit SettingsDialog(QWidget *parent = 0);
00018     ~SettingsDialog();
00019     void setMainWindow(MainWindow *window);
00020 
00021     void updateSettings(int refresh, int inactiveThreshold, bool physics, bool latency, bool throughput, bool sigStr, bool inactivity);
00022 private:
00023     Ui::SettingsDialog *ui;
00024     MainWindow * main;
00025 
00026 private slots:
00027     void on_buttonBox_rejected();
00028     void on_buttonBox_accepted();
00029 };
00030 
00031 #endif // SETTINGSDIALOG_H
 All Classes Functions