Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- property string labelText: "#"
- property real width: 153.3
- property real height: 102.5
- property int labelPosX: 60
- property int labelPosY: 25
- property int labelTextFontWidth: 45
- property string imgSrc: "asset:///images/keyboard_button.png"
- layout: AbsoluteLayout {
- }
- preferredWidth: width
- preferredHeight: height
- objectName: "contTecla"
- id: contTecla
- ImageView {
- objectName: "imgTecla"
- id: imgTecla1
- imageSource: imgSrc
- preferredWidth: width
- preferredHeight: height
- onTouch: {
- textFieldKey.text = textFieldKey.text + labelTecla.text;
- }
- }
- Label {
- objectName: "labelTecla"
- id: labelTecla
- text: labelText
- textStyle {
- color: Color.DarkYellow
- size: labelTextFontWidth
- }
- layoutProperties: AbsoluteLayoutProperties {
- positionX: labelPosX
- positionY: labelPosY
- }
- } }
Add Comment
Please, Sign In to add comment