Skip to content
Snippets Groups Projects
Commit cd42e070 authored by luyikei's avatar luyikei
Browse files

main.qml: Add zoomIn/out buttons

parent 3c4eacba
No related branches found
No related tags found
No related merge requests found
......@@ -486,6 +486,28 @@ Rectangle {
text: "C"
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;
}
}
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment