2023-04-09 13:35:35 +08:00
|
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
|
2022-09-14 13:01:10 +08:00
|
|
|
import QtQuick
|
|
|
|
import Qt5Compat.GraphicalEffects
|
2022-03-23 19:40:28 +08:00
|
|
|
|
|
|
|
Item {
|
2022-04-30 15:27:56 +08: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
|
2024-09-18 23:53:38 +08:00
|
|
|
property alias elide: textItem.elide
|
2022-04-30 15:27:56 +08:00
|
|
|
property alias lineHeight: textItem.lineHeight
|
|
|
|
property alias glow: glowItem
|
2022-03-23 19:40:28 +08:00
|
|
|
|
2022-04-30 15:27:56 +08:00
|
|
|
width: textItem.implicitWidth
|
|
|
|
height: textItem.implicitHeight
|
2022-03-23 19:40:28 +08:00
|
|
|
|
2022-04-30 15:27:56 +08:00
|
|
|
Text {
|
|
|
|
id: textItem
|
|
|
|
anchors.fill: parent
|
|
|
|
}
|
2022-03-23 19:40:28 +08:00
|
|
|
|
2022-04-30 15:27:56 +08:00
|
|
|
Glow {
|
|
|
|
id: glowItem
|
|
|
|
source: textItem
|
|
|
|
anchors.fill: textItem
|
|
|
|
}
|
2022-03-23 19:40:28 +08:00
|
|
|
}
|