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
+25
View File
@@ -0,0 +1,25 @@
#pragma once
#include "ConfigSection.hpp"
#include <qqmlregistration.h>
class SidebarSizes : public ConfigSection {
Q_OBJECT
QML_UNCREATABLE("Instantiated internally by Config")
CFG_PROPERTY(int, width, Width)
public:
explicit SidebarSizes(QObject *parent = nullptr);
};
class Sidebar : public ConfigSection {
Q_OBJECT
QML_UNCREATABLE("Instantiated internally by Config")
CFG_PROPERTY(int, dragThreshold, DragThreshold)
CFG_PROPERTY(bool, enabled, Enabled)
CFG_SECTION(SidebarSizes, sizes, Sizes)
public:
explicit Sidebar(QObject *parent = nullptr);
};