blob: bea05b80c35957c9aa15afa583a7801493314abb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
import QtQuick
import QtQuick.Controls
import Qt5Compat.GraphicalEffects
import qs.components
import qs.config
ToolTip {
id: root
property bool active
visible: hover.hovered && active
delay: General.toolTipDelay
contentItem: IText {
text: root.text
}
background: Rectangle {
color: Qt.rgba(Colors.background3.r, Colors.background3.g, Colors.background3.b, General.toolTipBackgroundOpacity)
}
}
|