2022-09-14 05:01:10 +00:00
|
|
|
import QtQuick
|
|
|
|
import Qt5Compat.GraphicalEffects
|
2022-03-23 11:40:28 +00:00
|
|
|
|
|
|
|
Item {
|
2022-04-30 07:27:56 +00:00
|
|
|
property alias text: textItem.text
|
|
|
|
property alias color: textItem.color
|
|
|
|
property alias font: textItem.font
|
|
|
|
property alias fontSizeMode: textItem.fontSizeMode
|
|
|
|
property alias horizontalAlignment: textItem.horizontalAlignment
|
|
|
|
property alias verticalAlignment: textItem.verticalAlignment
|
|
|
|
property alias style: textItem.style
|
|
|
|
property alias styleColor: textItem.styleColor
|
|
|
|
property alias wrapMode: textItem.wrapMode
|
|
|
|
property alias lineHeight: textItem.lineHeight
|
|
|
|
property alias glow: glowItem
|
2022-03-23 11:40:28 +00:00
|
|
|
|
2022-04-30 07:27:56 +00:00
|
|
|
width: textItem.implicitWidth
|
|
|
|
height: textItem.implicitHeight
|
2022-03-23 11:40:28 +00:00
|
|
|
|
2022-04-30 07:27:56 +00:00
|
|
|
Text {
|
|
|
|
id: textItem
|
|
|
|
anchors.fill: parent
|
|
|
|
}
|
2022-03-23 11:40:28 +00:00
|
|
|
|
2022-04-30 07:27:56 +00:00
|
|
|
Glow {
|
|
|
|
id: glowItem
|
|
|
|
source: textItem
|
|
|
|
anchors.fill: textItem
|
|
|
|
}
|
2022-03-23 11:40:28 +00:00
|
|
|
}
|