paysages3d/src/interface/modeler/quickapp/qml/CameraChoice.qml

42 lines
932 B
QML
Raw Normal View History

import QtQuick 2.0
2015-08-19 23:15:08 +00:00
Toolbar {
id: camera_choice
2015-08-19 23:15:08 +00:00
horizontal: false
color: "#90888888"
objectName: "camera_choice"
2015-08-19 23:15:08 +00:00
ToolbarButton {
id: camera_choice_render
picture: "images/tab_display.png"
hovertext: qsTr("Final render camera")
selected: true
}
2015-08-19 23:15:08 +00:00
ToolbarButton {
id: camera_choice_topdown
picture: "images/display_topdown.png"
hovertext: qsTr("Top-down camera")
}
2015-08-20 22:25:34 +00:00
ToolbarButton {
id: camera_toggle_water
objectName: "camera_toggle_water"
toggle: true
selected: true
picture: "images/toggle_water.png"
hovertext: qsTr("Toggle water rendering")
}
states: [
State {
name: "Render camera"
when: camera_choice_render.selected
},
State {
name: "Top-down camera"
when: camera_choice_topdown.selected
}
]
}