1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-26 18:35:20 +00:00
OpenMW/apps/opencs/model/prefs/subcategory.cpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
553 B
C++
Raw Normal View History

#include "subcategory.hpp"
#include <QGridLayout>
namespace CSMPrefs
{
class Category;
2023-11-12 00:52:09 +01:00
Subcategory::Subcategory(Category* parent, QMutex* mutex, const QString& label, Settings::Index& index)
: Setting(parent, mutex, "", label, index)
{
}
SettingWidgets Subcategory::makeWidgets(QWidget* /*parent*/)
{
QGridLayout* const layout = new QGridLayout();
layout->setSizeConstraint(QLayout::SetMinAndMaxSize);
return SettingWidgets{ .mLabel = nullptr, .mInput = nullptr, .mLayout = layout };
}
}