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
+26
View File
@@ -0,0 +1,26 @@
#pragma once
#include "ConfigSection.hpp"
#include <qqmlregistration.h>
class Presets : public ConfigSection {
Q_OBJECT
QML_UNCREATABLE("Instantiated internally by Config")
CFG_PROPERTY(QString, accent, Accent)
CFG_PROPERTY(QString, name, Name)
CFG_PROPERTY(QString, variant, Variant)
public:
explicit Presets(QObject *parent = nullptr);
};
class Colors : public ConfigSection {
Q_OBJECT
QML_UNCREATABLE("Instantiated internally by Config")
CFG_SECTION(Presets, presets, Presets)
CFG_PROPERTY(QString, schemeType, SchemeType)
public:
explicit Colors(QObject *parent = nullptr);
};