1 /*
2  * This file is part of bino, a 3D video player.
3  *
4  * Copyright (C) 2010, 2011, 2012, 2013
5  * Martin Lambers <marlam@marlam.de>
6  * Frédéric Devernay <Frederic.Devernay@inrialpes.fr>
7  * Joe <cuchac@email.cz>
8  * Daniel Schaal <farbing@web.de>
9  * Binocle <http://binocle.com> (author: Olivier Letz <oletz@binocle.com>)
10  * Frédéric Bour <frederic.bour@lakaban.net>
11  *
12  * This program is free software; you can redistribute it and/or modify
13  * it under the terms of the GNU General Public License as published by
14  * the Free Software Foundation; either version 3 of the License, or
15  * (at your option) any later version.
16  *
17  * This program is distributed in the hope that it will be useful,
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20  * GNU General Public License for more details.
21  *
22  * You should have received a copy of the GNU General Public License
23  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
24  */
25 
26 #ifndef PREFERENCESDIALOG_H
27 #define PREFERENCESDIALOG_H
28 
29 #include "config.h"
30 
31 #include <QDialog>
32 
33 class QIcon;
34 class QListWidgetItem;
35 class QListWidget;
36 class QStackedWidget;
37 
38 class preferences_dialog : public QDialog
39 {
40     Q_OBJECT
41 
42 private:
43     QListWidget * list_widget;
44     QStackedWidget * stacked_widget;
45 
46     void add_preferences_page(QWidget * dialog, const QString & title, const QString & icon_name);
47 
48 private slots:
49 
50 public:
51     preferences_dialog(QWidget *parent);
52 };
53 
54 #endif
55