config moved to c++ plugin, removed old qml + fileview implementation
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
#include "Dashboard.hpp"
|
||||
|
||||
Performance::Performance(QObject *parent) : ConfigSection(parent) {
|
||||
m_enabled = true;
|
||||
m_showBattery = false;
|
||||
m_showCpu = true;
|
||||
m_showGpu = true;
|
||||
m_showMemory = true;
|
||||
m_showNetwork = true;
|
||||
m_showStorage = true;
|
||||
m_showVram = true;
|
||||
wireSignals();
|
||||
}
|
||||
|
||||
DashboardSizes::DashboardSizes(QObject *parent) : ConfigSection(parent) {
|
||||
m_dateTimeWidth = 110;
|
||||
m_infoIconSize = 25;
|
||||
m_infoWidth = 200;
|
||||
m_mediaCoverArtSize = 150;
|
||||
m_mediaProgressSweep = 180;
|
||||
m_mediaProgressThickness = 8;
|
||||
m_mediaVisualizerSize = 200;
|
||||
m_mediaWidth = 200;
|
||||
m_resourceProgessThickness = 10;
|
||||
m_resourceSize = 200;
|
||||
m_tabIndicatorHeight = 3;
|
||||
m_tabIndicatorSpacing = 5;
|
||||
m_weatherWidth = 250;
|
||||
wireSignals();
|
||||
}
|
||||
|
||||
Dashboard::Dashboard(QObject *parent) : ConfigSection(parent) {
|
||||
m_enabled = true;
|
||||
m_mediaUpdateInterval = 2000;
|
||||
m_performance = new Performance(this);
|
||||
m_resourceUpdateInterval = 1000;
|
||||
m_sizes = new DashboardSizes(this);
|
||||
wireSignals();
|
||||
}
|
||||
Reference in New Issue
Block a user