1 // Object Viewer Qt - MMORPG Framework <http://dev.ryzom.com/projects/nel/>
2 // Copyright (C) 2011 Dzmitry KAMIAHIN (dnk-88) <dnk-88@tut.by>
4 // This source file has been modified by the following contributors:
5 // Copyright (C) 2010 Winch Gate Property Limited
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/>.
20 #include "example_settings_page.h"
23 #include <QtGui/QWidget>
32 ExampleSettingsPage::ExampleSettingsPage(QObject
*parent
)
33 : IOptionsPage(parent
),
38 QString
ExampleSettingsPage::id() const
40 return QLatin1String("ExamplePage");
43 QString
ExampleSettingsPage::trName() const
45 return tr("Example page");
48 QString
ExampleSettingsPage::category() const
50 return QLatin1String("Example");
53 QString
ExampleSettingsPage::trCategory() const
58 QIcon
ExampleSettingsPage::categoryIcon() const
63 QWidget
*ExampleSettingsPage::createPage(QWidget
*parent
)
65 m_currentPage
= new QWidget(parent
);
66 m_ui
.setupUi(m_currentPage
);
70 void ExampleSettingsPage::apply()
74 } /* namespace Plugin */