1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-29 05:15:33 +00:00
openmw-tes3mp/apps/opencs/view/settings/abstractpage.cpp

40 lines
799 B
C++
Raw Normal View History

2013-05-08 01:36:34 +00:00
#include "abstractpage.hpp"
#include <QGroupBox>
#include <QLabel>
#include <QVBoxLayout>
#include <QRadioButton>
#include <QCheckBox>
#include <QSpinBox>
#include <QComboBox>
#include <QLineEdit>
#include <QMargins>
CsSettings::AbstractPage::AbstractPage(QWidget *parent):
QWidget(parent)
{
}
CsSettings::AbstractPage::AbstractPage(const QString &pageName, QWidget *parent):
QWidget(parent)
{
QWidget::setObjectName (pageName);
}
CsSettings::AbstractPage::~AbstractPage()
{
}
CsSettings::SettingList *CsSettings::AbstractPage::getSettings()
{
SettingList *settings = new SettingList();
foreach (AbstractBlock *block, mAbstractBlocks)
{
SettingList *groupSettings = block->getSettings();
settings->append (*groupSettings);
}
return settings;
}