Linux multi-monitor fullscreen support
[ryzomcore.git] / studio / src / plugins / object_viewer / sound_settings_page.h
blob841c0a0b4af272e8e0ea54a281ed5e1a31c612a2
1 // Object Viewer Qt - MMORPG Framework <http://dev.ryzom.com/projects/nel/>
2 // Copyright (C) 2011 Dzmitry KAMIAHIN (dnk-88) <dnk-88@tut.by>
3 //
4 // This source file has been modified by the following contributors:
5 // Copyright (C) 2010 Winch Gate Property Limited
6 //
7 // This program is free software: you can redistribute it and/or modify
8 // it under the terms of the GNU Affero General Public License as
9 // published by the Free Software Foundation, either version 3 of the
10 // License, or (at your option) any later version.
12 // This program is distributed in the hope that it will be useful,
13 // but WITHOUT ANY WARRANTY; without even the implied warranty of
14 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 // GNU Affero General Public License for more details.
17 // You should have received a copy of the GNU Affero General Public License
18 // along with this program. If not, see <http://www.gnu.org/licenses/>.
21 #ifndef SOUND_SETTINGS_PAGE_H
22 #define SOUND_SETTINGS_PAGE_H
24 // Project includes
25 #include "../core/ioptions_page.h"
26 #include "ui_sound_settings_page.h"
28 // Qt includes
29 #include <QtCore/QObject>
31 class QWidget;
33 namespace NLQT
35 /**
36 @class SoundSettingsPage
38 class SoundSettingsPage : public Core::IOptionsPage
40 Q_OBJECT
41 public:
42 SoundSettingsPage(QObject *parent = 0);
43 virtual ~SoundSettingsPage() {}
45 virtual QString id() const;
46 virtual QString trName() const;
47 virtual QString category() const;
48 virtual QString trCategory() const;
49 QIcon categoryIcon() const;
50 virtual QWidget *createPage(QWidget *parent);
52 virtual void apply();
53 virtual void finish();
55 private Q_SLOTS:
56 void setSheetPath();
57 void setSamplePath();
59 private:
60 QWidget *m_page;
61 Ui::SoundSettingsPage m_ui;
64 } // namespace NLQT
66 #endif // SOUND_SETTINGS_H