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

28 lines
469 B
QML
Raw Normal View History

2014-08-28 08:29:12 +00:00
import QtQuick 2.0
BaseRectangle {
2014-08-28 08:29:12 +00:00
property ToolbarButton tool
id: panel
enabled: false
2014-08-28 08:29:12 +00:00
width: 200
height: parent.height - 100
2014-08-28 13:09:47 +00:00
color: "#a0909090"
2014-08-28 08:29:12 +00:00
anchors.right: parent.right
anchors.verticalCenter: parent.verticalCenter
states: [
State {
name: "Active"
when: tool.selected
PropertyChanges {
target: panel
enabled: true
2014-08-28 08:29:12 +00:00
}
}
]
}