1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-09-14 22:42:34 +02:00
ScreenPlay/ScreenPlayUtil/qml/Headline.qml
Elias Steurer 59a6523f28 Update ScreenPlay App type to be a QML_SINGLETON
This should in theory fix QtCreator autocompletion,
but https://bugreports.qt.io/browse/QTCREATORBUG-30197
must be fixed first
2024-01-12 16:10:34 +01:00

34 lines
564 B
QML

import QtQuick
import QtQuick.Controls.Material
import ScreenPlayApp
Item {
id: root
property alias text: txtHeadline.text
height: 40
Text {
id: txtHeadline
font.pointSize: 18
color: Material.primaryTextColor
text: "Headline"
font.family: App.settings.font
}
Rectangle {
height: 2
width: parent.width
color: Material.secondaryTextColor
anchors {
right: parent.right
left: parent.left
bottom: parent.bottom
}
}
}