RetroArch
viewoptionsdialog.h
Go to the documentation of this file.
1 #ifndef VIEWOPTIONSDIALOG_H
2 #define VIEWOPTIONSDIALOG_H
3 
4 #include <QDialog>
5 
6 class MainWindow;
7 class QSettings;
8 class QCheckBox;
9 class QComboBox;
10 class QPushButton;
11 class QColor;
12 class QLabel;
13 class QSpinBox;
14 
15 class ViewOptionsDialog : public QDialog
16 {
17  Q_OBJECT
18 public:
19  ViewOptionsDialog(MainWindow *mainwindow, QWidget *parent = 0);
20 public slots:
21  void showDialog();
22  void hideDialog();
23  void onAccepted();
24  void onRejected();
25 private slots:
28 private:
29  void loadViewOptions();
30  void saveViewOptions();
32 
34  QSettings *m_settings;
39  QComboBox *m_themeComboBox;
48 };
49 
50 #endif
void onThemeComboBoxIndexChanged(int index)
Definition: viewoptionsdialog.cpp:83
void showDialog()
Definition: viewoptionsdialog.cpp:229
QString m_customThemePath
Definition: viewoptionsdialog.h:44
QCheckBox * m_saveDockPositionsCheckBox
Definition: viewoptionsdialog.h:36
QComboBox * m_startupPlaylistComboBox
Definition: viewoptionsdialog.h:40
QColor m_highlightColor
Definition: viewoptionsdialog.h:42
void loadViewOptions()
Definition: viewoptionsdialog.cpp:134
ViewOptionsDialog(MainWindow *mainwindow, QWidget *parent=0)
Definition: viewoptionsdialog.cpp:21
QCheckBox * m_showHiddenFilesCheckBox
Definition: viewoptionsdialog.h:38
Definition: ui_qt.h:236
void saveViewOptions()
Definition: viewoptionsdialog.cpp:195
QSpinBox * m_allPlaylistsListMaxCountSpinBox
Definition: viewoptionsdialog.h:46
QSpinBox * m_allPlaylistsGridMaxCountSpinBox
Definition: viewoptionsdialog.h:47
QCheckBox * m_saveLastTabCheckBox
Definition: viewoptionsdialog.h:37
joypad_connection_t * slots
Definition: btstack_hid.c:629
Definition: viewoptionsdialog.h:15
QCheckBox * m_saveGeometryCheckBox
Definition: viewoptionsdialog.h:35
QLabel * m_highlightColorLabel
Definition: viewoptionsdialog.h:43
void onHighlightColorChoose()
Definition: viewoptionsdialog.cpp:116
void onRejected()
Definition: viewoptionsdialog.cpp:224
QComboBox * m_themeComboBox
Definition: viewoptionsdialog.h:39
void showOrHideHighlightColor()
Definition: viewoptionsdialog.cpp:181
QCheckBox * m_suggestLoadedCoreFirstCheckBox
Definition: viewoptionsdialog.h:45
GLuint index
Definition: glext.h:6671
void hideDialog()
Definition: viewoptionsdialog.cpp:235
void onAccepted()
Definition: viewoptionsdialog.cpp:215
MainWindow * m_mainwindow
Definition: viewoptionsdialog.h:33
QPushButton * m_highlightColorPushButton
Definition: viewoptionsdialog.h:41
QSettings * m_settings
Definition: viewoptionsdialog.h:34