Commit cd42e070 authored by luyikei's avatar luyikei

main.qml: Add zoomIn/out buttons

parent 3c4eacba
...@@ -486,6 +486,28 @@ Rectangle { ...@@ -486,6 +486,28 @@ Rectangle {
text: "C" text: "C"
selected: false selected: false
} }
PropertyButton {
id: zoomInButton
text: "+"
selected: false
onPressed: {
zoomIn( 2.0 );
selected = false;
}
}
PropertyButton {
id: zoomOutButton
text: "-"
selected: false
onPressed: {
zoomIn( 0.5 );
selected = false;
}
}
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment