2023-11-10 12:28:10 +00:00
|
|
|
#ifndef OPENMW_APPS_OPENCS_MODEL_PREFS_SUBCATEGORY_H
|
|
|
|
#define OPENMW_APPS_OPENCS_MODEL_PREFS_SUBCATEGORY_H
|
|
|
|
|
|
|
|
#include "setting.hpp"
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
#include <utility>
|
|
|
|
|
|
|
|
namespace CSMPrefs
|
|
|
|
{
|
|
|
|
class Category;
|
|
|
|
|
|
|
|
class Subcategory final : public Setting
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2023-11-11 23:52:09 +00:00
|
|
|
explicit Subcategory(Category* parent, QMutex* mutex, const QString& label, Settings::Index& index);
|
2023-11-10 12:28:10 +00:00
|
|
|
|
|
|
|
SettingWidgets makeWidgets(QWidget* parent) override;
|
|
|
|
|
|
|
|
void updateWidget() override {}
|
2023-11-11 23:52:09 +00:00
|
|
|
|
|
|
|
void reset() override {}
|
2023-11-10 12:28:10 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|