2014-08-27 15:23:59 +00:00
|
|
|
import QtQuick 2.0
|
|
|
|
|
|
|
|
Rectangle {
|
|
|
|
|
|
|
|
default property alias children : inner_space.children
|
|
|
|
width: 70
|
|
|
|
height: parent.height
|
2014-08-28 08:29:12 +00:00
|
|
|
color: "#50888888"
|
|
|
|
enabled: opacity > 0
|
2014-08-27 15:23:59 +00:00
|
|
|
|
|
|
|
Column {
|
|
|
|
id: inner_space
|
|
|
|
spacing: (parent.height - children.length * tool_terrain.height) / (children.length + 1)
|
|
|
|
anchors.centerIn: parent
|
|
|
|
}
|
|
|
|
|
|
|
|
Behavior on opacity {
|
|
|
|
PropertyAnimation {
|
|
|
|
duration: 200
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|