|
|
|
import QtQuick 2.0
|
|
|
|
|
|
|
|
import "qrc:/emulator/elements"
|
|
|
|
import "qrc:/const"
|
|
|
|
|
|
|
|
Item {
|
|
|
|
// width: 670
|
|
|
|
// height: 240
|
|
|
|
// x: 891
|
|
|
|
|
|
|
|
width: childrenRect.width
|
|
|
|
height: childrenRect.height
|
|
|
|
anchors.horizontalCenter: parent.horizontalCenter
|
|
|
|
y: 210
|
|
|
|
|
|
|
|
Row {
|
|
|
|
spacing: 40
|
|
|
|
ModeOptionBind {
|
|
|
|
y: 130
|
|
|
|
nameLed: "modePwCenterLed"
|
|
|
|
nameLedOption: "modeBLed" // x name
|
|
|
|
image: "qrc:/icons/encoder/modePw.png"
|
|
|
|
imageOption: "qrc:/icons/encoder/x.png"
|
|
|
|
}
|
|
|
|
|
|
|
|
ModeOptionBind {
|
|
|
|
y: 41
|
|
|
|
nameLed: "modeMCenterLed"
|
|
|
|
nameLedOption: "modeCLed" // y name
|
|
|
|
image: "qrc:/icons/encoder/modeM.png"
|
|
|
|
imageOption: "qrc:/icons/encoder/y.png"
|
|
|
|
}
|
|
|
|
|
|
|
|
ModeOptionBind {
|
|
|
|
nameLed: "modePdCenterLed"
|
|
|
|
nameLedOption: "modePdLed" // z name
|
|
|
|
imageOption: "qrc:/icons/encoder/z.png"
|
|
|
|
image: "qrc:/icons/encoder/modePd.png"
|
|
|
|
}
|
|
|
|
|
|
|
|
ModeOptionBind {
|
|
|
|
y: 41
|
|
|
|
nameLed: "modeCCenterLed"
|
|
|
|
nameLedOption: "modeMLed" // quadrat name
|
|
|
|
imageOption: "qrc:/icons/encoder/quadratic.png"
|
|
|
|
image: "qrc:/icons/encoder/modeC.png"
|
|
|
|
}
|
|
|
|
|
|
|
|
ModeButtonBind {
|
|
|
|
y: 130
|
|
|
|
nameLed: "modeBCenterLed"
|
|
|
|
image: "qrc:/icons/encoder/mode2d.png"
|
|
|
|
led: 2
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|