2023-03-30 21:52:55 +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-03-29 21:43:01 +08:00
|
|
|
|
fontStyle: FluText.Body
|
2023-02-28 18:29:00 +08:00
|
|
|
|
padding: 4
|
|
|
|
|
wrapMode: Text.WrapAnywhere
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
background: Rectangle{
|
|
|
|
|
anchors.fill: parent
|
2023-03-28 21:37:10 +08:00
|
|
|
|
color: FluTheme.dark ? 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
|
|
|
|
}
|
|
|
|
|
}
|