OSCAR-code/preferencesdialog.h

39 lines
762 B
C++

/*
SleepyHead Preferences Dialog GUI Headers
Copyright (c)2011 Mark Watkins <jedimark@users.sourceforge.net>
License: GPL
*/
#ifndef PREFERENCESDIALOG_H
#define PREFERENCESDIALOG_H
#include <QDialog>
#include <QModelIndex>
#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