1 #ifndef OPTIONSDIALOG_H
2 #define OPTIONSDIALOG_H
13 class MainOptionsPage;
14 class DisplayOptionsPage;
15 class MonitoredDataMapper;
17 /** Preferences dialog. */
18 class OptionsDialog : public QDialog
22 explicit OptionsDialog(QWidget *parent=0);
24 void setModel(OptionsModel *model);
29 /** Change the current page to \a index. */
30 void changePage(int index);
40 QListWidget *contents_widget;
41 QStackedWidget *pages_widget;
43 MonitoredDataMapper *mapper;
44 QPushButton *apply_button;
47 MainOptionsPage *main_page;
48 DisplayOptionsPage *display_page;
53 #endif // OPTIONSDIALOG_H