26 lines
609 B
QML
26 lines
609 B
QML
pragma Singleton
|
|
import QtQuick 2.15
|
|
|
|
QtObject {
|
|
readonly property int small_spacing: 4
|
|
readonly property int spacing: 8
|
|
|
|
readonly property int small_radius: 4
|
|
readonly property int radius: 6
|
|
readonly property int big_radius: 10
|
|
readonly property int border_width: 2
|
|
|
|
readonly property string font: "CodeNewRoman Nerd Font"
|
|
|
|
function big_font_size(value) {
|
|
return value * 0.6
|
|
}
|
|
|
|
function medium_scaling(value) {
|
|
return value * 0.4
|
|
}
|
|
|
|
// Tray
|
|
readonly property int reload_interval: 10000
|
|
readonly property int fast_reload_interval: 1000
|
|
} |