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

36 lines
671 B
QML
Raw Normal View History

2015-08-23 22:39:31 +00:00
import QtQuick 2.0
// Atmosphere control
BaseSection {
id: section
BaseToolbar {
id: toolbar
ToolbarButton {
id: tool_daytime
selected: true
picture: "images/icon_atmosphere_daytime.png"
hovertext: qsTr("Change the time of day")
}
}
PanelAtmosphereDaytime {
id: panel_daytime
anchors.left: toolbar.right
enabled: false
}
states: [
State {
name: "DayTime"
when: tool_daytime.selected
PropertyChanges {
target: panel_daytime
enabled: true
}
}
]
}