config moved to c++ plugin, removed old qml + fileview implementation
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
#include "Appearance.hpp"
|
||||
|
||||
Anim::Anim(QObject *parent) : ConfigSection(parent) {
|
||||
m_mediaGifSpeedAdjustment = 300;
|
||||
m_sessionGifSpeed = 0.7;
|
||||
wireSignals();
|
||||
}
|
||||
|
||||
Deform::Deform(QObject *parent) : ConfigSection(parent) {
|
||||
m_scale = 1;
|
||||
wireSignals();
|
||||
}
|
||||
|
||||
FontFamily::FontFamily(QObject *parent) : ConfigSection(parent) {
|
||||
m_clock = QStringLiteral("Rubik");
|
||||
m_material = QStringLiteral("Material Symbols Rounded");
|
||||
m_mono = QStringLiteral("SegoeUI Variable");
|
||||
m_sans = QStringLiteral("SegoeUI Variable");
|
||||
wireSignals();
|
||||
}
|
||||
|
||||
Font::Font(QObject *parent) : ConfigSection(parent) {
|
||||
m_family = new FontFamily(this);
|
||||
wireSignals();
|
||||
}
|
||||
|
||||
Transparency::Transparency(QObject *parent) : ConfigSection(parent) {
|
||||
m_base = 0.75;
|
||||
m_enabled = true;
|
||||
m_layers = 0.4;
|
||||
wireSignals();
|
||||
}
|
||||
|
||||
Appearance::Appearance(QObject *parent) : ConfigSection(parent) {
|
||||
m_anim = new Anim(this);
|
||||
m_deform = new Deform(this);
|
||||
m_font = new Font(this);
|
||||
m_transparency = new Transparency(this);
|
||||
wireSignals();
|
||||
}
|
||||
Reference in New Issue
Block a user