2011-05-12 09:40:40 +02:00
|
|
|
#ifndef OPTIONSDIALOG_H
|
|
|
|
#define OPTIONSDIALOG_H
|
|
|
|
|
|
|
|
#include <QDialog>
|
2011-05-12 14:44:52 +02:00
|
|
|
#include <QStackedWidget>
|
|
|
|
#include <QListWidget>
|
2011-05-12 09:40:40 +02:00
|
|
|
|
|
|
|
class OptionsDialog : public QDialog
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
explicit OptionsDialog(QWidget *parent = 0);
|
|
|
|
|
|
|
|
signals:
|
|
|
|
|
|
|
|
public slots:
|
2011-05-12 14:44:52 +02:00
|
|
|
void changePage(QListWidgetItem *current, QListWidgetItem *previous);
|
|
|
|
private:
|
|
|
|
QListWidget *contents_widget;
|
|
|
|
QStackedWidget *pages_widget;
|
2011-05-12 09:40:40 +02:00
|
|
|
|
2011-05-12 14:44:52 +02:00
|
|
|
void setupMainPage();
|
2011-05-12 09:40:40 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // OPTIONSDIALOG_H
|