mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-05-10 04:26:50 +03:00
22 lines
522 B
C++
22 lines
522 B
C++
![]() |
#include "subcategory.hpp"
|
||
|
|
||
|
#include <QGridLayout>
|
||
|
|
||
|
namespace CSMPrefs
|
||
|
{
|
||
|
class Category;
|
||
|
|
||
|
Subcategory::Subcategory(Category* parent, QMutex* mutex, const QString& label)
|
||
|
: Setting(parent, mutex, "", label)
|
||
|
{
|
||
|
}
|
||
|
|
||
|
SettingWidgets Subcategory::makeWidgets(QWidget* /*parent*/)
|
||
|
{
|
||
|
QGridLayout* const layout = new QGridLayout();
|
||
|
layout->setSizeConstraint(QLayout::SetMinAndMaxSize);
|
||
|
|
||
|
return SettingWidgets{ .mLabel = nullptr, .mInput = nullptr, .mLayout = layout };
|
||
|
}
|
||
|
}
|