/* * Copyright (C) 2013 by Neusoft * Author : Jia Zhao * */ import QtQuick 2.0 import Label 2.0 /** * This is a Text component from QtQuick. * * You can use all elements of the QML Text component, in particular the "text" * property to define the label text. */ Label { id: label property alias bMultiLine: label.bMultiLine property real rate: 0.860 property real offset: (label.height - label.height*rate)/2 property int wtitetitle:systemCtrl.iLanguage property int wtitesize:0 color: "white" wrapMode: Label.WordWrap verticalAlignment: Label.AlignVCenter horizontalAlignment: Label.AlignHCenter font.pixelSize:31*label.rate //FOD 2018/09/13 by lishunan for font start font.family:"Montserrat"//(wtitesize==0)?((wtitetitle==1)? "Montserrat":"Arial Regular"):((wtitesize==1)?"Arial Regular":"Montserrat") //add lqy for 325925 //FOD 2018/09/13 by lishunan for font end //font.family: "微软雅黑" //transform: Scale { origin.x: label.width/2; origin.y: label.height/2; xScale: 1 ;yScale: 1.00/label.rate} }