mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2025-01-05 23:53:59 +00:00
91f859bc8a
--HG-- branch : gsoc2014-dfighter
72 lines
No EOL
1.7 KiB
C++
72 lines
No EOL
1.7 KiB
C++
// Object Viewer Qt - MMORPG Framework <http://dev.ryzom.com/projects/nel/>
|
|
// Copyright (C) 2010 Winch Gate Property Limited
|
|
// Copyright (C) 2011 Dzmitry Kamiahin <dnk-88@tut.by>
|
|
//
|
|
// This program is free software: you can redistribute it and/or modify
|
|
// it under the terms of the GNU Affero General Public License as
|
|
// published by the Free Software Foundation, either version 3 of the
|
|
// License, or (at your option) any later version.
|
|
//
|
|
// This program is distributed in the hope that it will be useful,
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
// GNU Affero General Public License for more details.
|
|
//
|
|
// You should have received a copy of the GNU Affero General Public License
|
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
#include "example_settings_page.h"
|
|
|
|
// Qt includes
|
|
#include <QtGui/QWidget>
|
|
|
|
// NeL includes
|
|
|
|
// Project includes
|
|
|
|
namespace Plugin
|
|
{
|
|
|
|
ExampleSettingsPage::ExampleSettingsPage(QObject *parent)
|
|
: IOptionsPage(parent),
|
|
m_currentPage(0)
|
|
{
|
|
}
|
|
|
|
QString ExampleSettingsPage::id() const
|
|
{
|
|
return QLatin1String("ExamplePage");
|
|
}
|
|
|
|
QString ExampleSettingsPage::trName() const
|
|
{
|
|
return tr("Example page");
|
|
}
|
|
|
|
QString ExampleSettingsPage::category() const
|
|
{
|
|
return QLatin1String("Example");
|
|
}
|
|
|
|
QString ExampleSettingsPage::trCategory() const
|
|
{
|
|
return tr("Example");
|
|
}
|
|
|
|
QIcon ExampleSettingsPage::categoryIcon() const
|
|
{
|
|
return QIcon();
|
|
}
|
|
|
|
QWidget *ExampleSettingsPage::createPage(QWidget *parent)
|
|
{
|
|
m_currentPage = new QWidget(parent);
|
|
m_ui.setupUi(m_currentPage);
|
|
return m_currentPage;
|
|
}
|
|
|
|
void ExampleSettingsPage::apply()
|
|
{
|
|
}
|
|
|
|
} /* namespace Plugin */ |