| 1 |
import QtQuick 2.4 |
| 2 |
import Lomiri.Components 1.3 |
| 3 |
import Lomiri.Components.Popups 1.3 |
| 4 |
|
| 5 |
import "template" as Template |
| 6 |
|
| 7 |
Template.Tooltip { |
| 8 |
id: bottomTooltip |
| 9 |
|
| 10 |
property var message |
| 11 |
|
| 12 |
Rectangle { |
| 13 |
anchors.fill: parent |
| 14 |
color: theme.palette.normal.background |
| 15 |
border.width: 1 |
| 16 |
border.color: theme.palette.normal.base |
| 17 |
Text { |
| 18 |
anchors.centerIn: parent |
| 19 |
color: theme.palette.normal.backgroundText |
| 20 |
text: message |
| 21 |
verticalAlignment: Text.AlignVCenter |
| 22 |
horizontalAlignment: Text.AlignHCenter |
| 23 |
} |
| 24 |
} |
| 25 |
} |