import QtQuick 2.11

Item {
    id:root
    anchors.fill: parent
    anchors.margins: 5
    property  int fontsize:100
    property  string fontcolor:"black"
    property  string text:"0.000"


    FontLoader{
        id: fontlcd
        source: "qrc:/font/DS-DIGI.TTF"
    }

    Text {
        id:lcdnumber
        anchors.centerIn: parent

        color:fontcolor
        text: root.text
        font.family: fontlcd.name
        font.pixelSize: root.fontsize
    }

}
