config moved to c++ plugin, removed old qml + fileview implementation

This commit is contained in:
2026-08-13 02:25:26 +02:00
parent c29b91cd26
commit 3cd3209b28
341 changed files with 4851 additions and 3502 deletions
+29
View File
@@ -0,0 +1,29 @@
#pragma once
#include "ConfigSection.hpp"
#include <qqmlregistration.h>
class OsdSizes : public ConfigSection {
Q_OBJECT
QML_UNCREATABLE("Instantiated internally by Config")
CFG_PROPERTY(int, sliderHeight, SliderHeight)
CFG_PROPERTY(int, sliderWidth, SliderWidth)
public:
explicit OsdSizes(QObject *parent = nullptr);
};
class Osd : public ConfigSection {
Q_OBJECT
QML_UNCREATABLE("Instantiated internally by Config")
CFG_PROPERTY(bool, allMonBrightness, AllMonBrightness)
CFG_PROPERTY(bool, enableBrightness, EnableBrightness)
CFG_PROPERTY(bool, enableMicrophone, EnableMicrophone)
CFG_PROPERTY(bool, enabled, Enabled)
CFG_PROPERTY(int, hideDelay, HideDelay)
CFG_SECTION(OsdSizes, sizes, Sizes)
public:
explicit Osd(QObject *parent = nullptr);
};