moment/harmonyqml/components/base/ToolTipLabel.qml
miruka 76b699ad64 Organize project files
Put QML components into folders, remove unused ones, split __init__.py
with engine.py.
2019-03-26 05:52:43 -04:00

17 lines
329 B
QML

import QtQuick 2.7
import QtQuick.Controls 2.0
HLabel {
id: text
ToolTip {
delay: Qt.styleHints.mousePressAndHoldInterval
visible: text ? toolTipZone.containsMouse : false
text: user_id
}
MouseArea {
id: toolTipZone
anchors.fill: parent
hoverEnabled: true
}
}