SailTuner/qml/Desktop.qml

17 lines
295 B
QML
Raw Normal View History

import QtQuick 2.0
import LJTuner 1.0
Item {
anchors.fill: parent
Tuner {
id: tuner
running: true
}
Text {
text: tuner.freq.toFixed(2) + " Hz"
font.pixelSize: parent.height / 4
anchors.horizontalCenter: parent.horizontalCenter
anchors.verticalCenter: parent.verticalCenter
}
}