You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
659 B
29 lines
659 B
import QtQuick 2.0
|
|
|
|
Item {
|
|
property alias text: label.text
|
|
property alias color: label.color
|
|
property int fontSize: 12
|
|
width: icon.x + icon.width
|
|
height: icon.height
|
|
|
|
Text {
|
|
id: label
|
|
anchors.bottom: parent.bottom
|
|
anchors.bottomMargin: 2
|
|
anchors.left: parent.left
|
|
font.family: "Arial"
|
|
font.pixelSize: parent.fontSize
|
|
color: "#555555"
|
|
}
|
|
|
|
Image {
|
|
id: icon
|
|
anchors.verticalCenter: parent.verticalCenter
|
|
anchors.left: label.right
|
|
anchors.leftMargin: 5
|
|
source: "../images/whatIsIcon.png"
|
|
visible: appWindow.whatIsEnable
|
|
}
|
|
}
|