mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-12 21:39:26 +00:00
a8b45e0a13
1. Declared QStringPair::isEmpty() const 2. Split the CsSettings namespace into two: CSMSettings and CSVSettings. (Required splitting the support.hpp file) 3. Declared several classes as _noqt in CMakeLists.txt for OpenCS
40 lines
843 B
C++
40 lines
843 B
C++
#include "abstractpage.hpp"
|
|
|
|
#include <QGroupBox>
|
|
#include <QLabel>
|
|
#include <QVBoxLayout>
|
|
#include <QRadioButton>
|
|
#include <QCheckBox>
|
|
#include <QSpinBox>
|
|
#include <QComboBox>
|
|
#include <QLineEdit>
|
|
#include <QMargins>
|
|
|
|
CSVSettings::AbstractPage::AbstractPage(QWidget *parent):
|
|
QWidget(parent)
|
|
{
|
|
}
|
|
|
|
CSVSettings::AbstractPage::AbstractPage(const QString &pageName, QWidget *parent):
|
|
QWidget(parent)
|
|
{
|
|
QWidget::setObjectName (pageName);
|
|
}
|
|
|
|
CSVSettings::AbstractPage::~AbstractPage()
|
|
{
|
|
}
|
|
|
|
CSMSettings::SettingList *CSVSettings::AbstractPage::getSettings()
|
|
{
|
|
CSMSettings::SettingList *settings = new CSMSettings::SettingList();
|
|
|
|
foreach (AbstractBlock *block, mAbstractBlocks)
|
|
{
|
|
CSMSettings::SettingList *groupSettings = block->getSettings();
|
|
settings->append (*groupSettings);
|
|
}
|
|
|
|
return settings;
|
|
}
|