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
+31
View File
@@ -0,0 +1,31 @@
#pragma once
#include "ConfigSection.hpp"
#include <qqmlregistration.h>
class LockSizes : public ConfigSection {
Q_OBJECT
QML_UNCREATABLE("Instantiated internally by Config")
CFG_PROPERTY(int, centerWidth, CenterWidth)
CFG_PROPERTY(qreal, heightMult, HeightMult)
CFG_PROPERTY(qreal, ratio, Ratio)
public:
explicit LockSizes(QObject *parent = nullptr);
};
class Lock : public ConfigSection {
Q_OBJECT
QML_UNCREATABLE("Instantiated internally by Config")
CFG_PROPERTY(int, blurAmount, BlurAmount)
CFG_PROPERTY(bool, enableFprint, EnableFprint)
CFG_PROPERTY(int, maxFprintTries, MaxFprintTries)
CFG_PROPERTY(bool, recolorLogo, RecolorLogo)
CFG_PROPERTY(bool, showNotifContent, ShowNotifContent)
CFG_PROPERTY(bool, showNotifIcon, ShowNotifIcon)
CFG_SECTION(LockSizes, sizes, Sizes)
public:
explicit Lock(QObject *parent = nullptr);
};