diff --git a/AboutProgram.qml b/AboutProgram.qml index d77ba24..42c29d8 100644 --- a/AboutProgram.qml +++ b/AboutProgram.qml @@ -21,7 +21,7 @@ Dialog { id: element x: 0 y: 8 - text: qsTr("TangraPlay v0.1 Alpha") + text: qsTr("TangraPlay v0.5 Beta") font.bold: true font.pixelSize: 33 } @@ -33,6 +33,7 @@ Dialog { width: 216 height: 61 text: qsTr("(Винаги съм искал да направя софтуер с диалогов прозорец като mIRC )") + font.family: mainfont.name wrapMode: Text.WrapAtWordBoundaryOrAnywhere elide: Text.ElideLeft font.pixelSize: 12 @@ -45,6 +46,7 @@ Dialog { width: 354 height: 36 text: qsTr("© 2020 Благовест Петров ( https://petrovs.info ) . Кодът е лиценциран под GNU GPV v3.0. ") + font.family: mainfont.name wrapMode: Text.WrapAtWordBoundaryOrAnywhere font.pixelSize: 12 } @@ -56,6 +58,7 @@ Dialog { width: 354 height: 36 text: qsTr("Всички лога, графики и името \"Tangra Mega Rock\" са собственост на радио Тангра.") + font.family: mainfont.name font.pixelSize: 12 wrapMode: Text.WrapAtWordBoundaryOrAnywhere } @@ -67,6 +70,7 @@ Dialog { width: 354 height: 36 text: qsTr("Този софтуер e направен напълно с некомерсиална цел не е свързан по никакъв начин с Рок Радио Tangra Mega Rock") + font.family: mainfont.name font.pixelSize: 12 wrapMode: Text.WrapAtWordBoundaryOrAnywhere } diff --git a/Resources/KellySlab-Regular.ttf b/Resources/KellySlab-Regular.ttf new file mode 100644 index 0000000..dce51a9 Binary files /dev/null and b/Resources/KellySlab-Regular.ttf differ diff --git a/main.qml b/main.qml index edd8b0e..2603eb6 100644 --- a/main.qml +++ b/main.qml @@ -11,6 +11,8 @@ Window { height: 480 flags: Qt.FramelessWindowHint + FontLoader { id: mainfont; source: "Resources/KellySlab-Regular.ttf" } + SystemTrayIcon { visible: true icon.source: "Resources/tangra.ico" @@ -118,6 +120,7 @@ Window { id: appTitle anchors.left: buttonMinimize.right text: qsTr("TangraPlay") + font.family: mainfont.name font.pixelSize: 20 font.bold: true color: "#f9c620" @@ -201,6 +204,7 @@ Window { y: 455 text: qsTr("Относно програмата") font.pixelSize: 12 + font.family: mainfont.name color: "#f9c620" MouseArea { anchors.fill: parent diff --git a/qml.qrc b/qml.qrc index 81a155f..c82a25b 100644 --- a/qml.qrc +++ b/qml.qrc @@ -13,5 +13,6 @@ AboutProgram.qml Resources/blago.png Resources/tangra.ico + Resources/KellySlab-Regular.ttf