2015-12-27 14:01:07 +03:00
|
|
|
import QtQuick 2.0
|
|
|
|
|
|
|
|
/**
|
|
|
|
* display tuner screen with qmlscene
|
|
|
|
* to work on qml files
|
|
|
|
*/
|
|
|
|
|
|
|
|
Item {
|
|
|
|
width: 600
|
2016-01-01 18:39:43 +03:00
|
|
|
height: 450
|
2015-12-27 14:01:07 +03:00
|
|
|
|
2015-12-27 17:59:32 +03:00
|
|
|
DesktopTheme {
|
2015-12-27 14:01:07 +03:00
|
|
|
id: theme
|
|
|
|
}
|
|
|
|
|
|
|
|
Item {
|
|
|
|
id: tuner
|
|
|
|
property int note: 2
|
|
|
|
property int octave: 4
|
|
|
|
property double freq: 440
|
2016-01-02 18:36:55 +03:00
|
|
|
property double deviation: 0.12
|
|
|
|
property bool found: true
|
2015-12-27 14:01:07 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
TunerScreen {
|
|
|
|
tuner: tuner
|
|
|
|
theme: theme
|
|
|
|
}
|
|
|
|
}
|