2014-07-07 20:08:30 +03:00
|
|
|
import QtQuick 2.0
|
|
|
|
|
|
|
|
Rectangle {
|
|
|
|
property alias text: content.text
|
|
|
|
width: content.width + 12
|
|
|
|
height: content.height + 17
|
|
|
|
color: "#FF6C3C"
|
2014-07-17 14:14:27 +03:00
|
|
|
//radius: 3
|
2014-07-07 20:08:30 +03:00
|
|
|
|
|
|
|
Image {
|
|
|
|
anchors.top: parent.bottom
|
|
|
|
anchors.left: parent.left
|
2014-07-09 17:18:48 +03:00
|
|
|
anchors.leftMargin: 5
|
2014-07-07 20:08:30 +03:00
|
|
|
source: "../images/tip.png"
|
|
|
|
}
|
|
|
|
|
|
|
|
Text {
|
|
|
|
id: content
|
|
|
|
anchors.horizontalCenter: parent.horizontalCenter
|
|
|
|
y: 6
|
|
|
|
lineHeight: 0.7
|
|
|
|
font.family: "Arial"
|
|
|
|
font.pixelSize: 12
|
2014-07-09 17:18:48 +03:00
|
|
|
font.letterSpacing: -1
|
2014-07-07 20:08:30 +03:00
|
|
|
color: "#FFFFFF"
|
|
|
|
}
|
|
|
|
}
|