2023-03-24 20:44:38 +08:00
|
|
|
|
import QtQuick
|
|
|
|
|
import QtQuick.Controls
|
|
|
|
|
import FluentUI
|
2023-02-28 18:29:00 +08:00
|
|
|
|
|
|
|
|
|
ToolTip {
|
|
|
|
|
id:tool_tip
|
|
|
|
|
|
|
|
|
|
contentItem: FluText {
|
|
|
|
|
text: tool_tip.text
|
|
|
|
|
font: tool_tip.font
|
2023-02-28 23:57:55 +08:00
|
|
|
|
fontStyle: FluText.BodyLarge
|
2023-02-28 18:29:00 +08:00
|
|
|
|
padding: 4
|
|
|
|
|
wrapMode: Text.WrapAnywhere
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
background: Rectangle{
|
|
|
|
|
anchors.fill: parent
|
2023-03-06 14:22:13 +08:00
|
|
|
|
color: FluTheme.isDark ? Qt.rgba(50/255,49/255,48/255,1) : Qt.rgba(1,1,1,1)
|
2023-02-28 18:29:00 +08:00
|
|
|
|
radius: 5
|
2023-03-03 18:19:48 +08:00
|
|
|
|
FluShadow{}
|
2023-02-28 18:29:00 +08:00
|
|
|
|
}
|
|
|
|
|
}
|