1 /** @file preferences.h  Widget for user preferences.
2  *
3  * @authors Copyright © 2013-2017 Jaakko Keränen <jaakko.keranen@iki.fi>
4  *
5  * @par License
6  * GPL: http://www.gnu.org/licenses/gpl.html
7  *
8  * <small>This program is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by the
10  * Free Software Foundation; either version 2 of the License, or (at your
11  * option) any later version. This program is distributed in the hope that it
12  * will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty
13  * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
14  * Public License for more details. You should have received a copy of the GNU
15  * General Public License along with this program; if not, see:
16  * http://www.gnu.org/licenses</small>
17  */
18 
19 #ifndef PREFERENCES_H
20 #define PREFERENCES_H
21 
22 #include <QDialog>
23 #include <de/NativePath>
24 
25 class Preferences : public QDialog
26 {
27     Q_OBJECT
28 
29 public:
30     explicit Preferences(QWidget *parent = 0);
31 
32     static de::NativePath iwadFolder();
33     static QFont consoleFont();
34 
35 signals:
36     void consoleFontChanged();
37 
38 public slots:
39     void saveState();
40     void validate();
41     void selectFont();
42 
43 private:
44     DENG2_PRIVATE(d)
45 };
46 
47 #endif // PREFERENCES_H
48