mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-29 05:15:33 +00:00
40 lines
799 B
C++
40 lines
799 B
C++
|
#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;
|
||
|
}
|