/* SleepyHead Preferences Dialog GUI Headers Copyright (c)2011 Mark Watkins License: GPL */ #ifndef PREFERENCESDIALOG_H #define PREFERENCESDIALOG_H #include #include #include "SleepLib/profiles.h" namespace Ui { class PreferencesDialog; } class PreferencesDialog : public QDialog { Q_OBJECT public: explicit PreferencesDialog(QWidget *parent = 0); ~PreferencesDialog(); void Save(); protected: Profile * profile; private slots: void on_eventTable_doubleClicked(const QModelIndex &index); void on_combineSlider_sliderMoved(int position); void on_IgnoreSlider_sliderMoved(int position); private: Ui::PreferencesDialog *ui; }; #endif // PREFERENCESDIALOG_H