config moved to c++ plugin, removed old qml + fileview implementation
This commit is contained in:
@@ -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);
|
||||
};
|
||||
Reference in New Issue
Block a user