feat: font pseudo-cirillico Russo One (OFL) incluso nel tema

This commit is contained in:
Matteo Benedetto
2026-08-16 17:07:37 +02:00
parent 72af5e414b
commit a3f1feaf7e
7 changed files with 47 additions and 0 deletions
+9
View File
@@ -1,8 +1,15 @@
import QtQuick 2.15
import QtQuick.Controls 2.15 as QQC2
// Selettore a tendina etichettato in stile costruttivista.
Column {
FontLoader {
id: themeFont
source: "assets/fonts/RussoOne-Regular.ttf"
}
id: comboWrap
property string label: ""
property alias model: combo.model
@@ -16,6 +23,7 @@ Column {
Text {
text: comboWrap.label
color: "#f0dfba"
font.family: themeFont.name
font.pixelSize: 12
font.bold: true
font.letterSpacing: 2
@@ -25,6 +33,7 @@ Column {
id: combo
width: comboWrap.width
height: 40
font.family: themeFont.name
font.pixelSize: 16
font.bold: true
onActivated: comboWrap.activated(index)