some finishing touches to the speed final flowchart

This commit is contained in:
Dorian Zedler 2019-07-04 23:23:44 +02:00
parent bbcd468ec3
commit 73f461432f

View file

@ -50,6 +50,7 @@ DataListView {
onClicked: {
if(speedFlowChartBackgroundRect.state === "hidden"){
speedFlowChartBackgroundRect.state ="visible"
control.positionViewAtBeginning()
}
else {
speedFlowChartBackgroundRect.state = "hidden"
@ -511,7 +512,7 @@ DataListView {
width: parent.width / ( generalResRep.model )
height: parent.height
visible: enabled
visible: multiGenResRow.active
Rectangle {
@ -686,7 +687,15 @@ DataListView {
state: "hidden"
anchors.fill: parent
anchors {
top: parent.top
bottom: parent.bottom
left: parent.right
}
width: parent.width
height: parent.height
color: Material.background
SpeedFlowChart {
@ -710,8 +719,7 @@ DataListView {
PropertyChanges {
target: speedFlowChartBackgroundRect
opacity: 0
scale: 0.9
height: 0
anchors.leftMargin: 0
}
},
@ -720,8 +728,7 @@ DataListView {
PropertyChanges {
target: speedFlowChartBackgroundRect
opacity: 1
scale: 1
height: parent.height
anchors.leftMargin: -parent.width
}
}
]
@ -729,8 +736,9 @@ DataListView {
transitions: [
Transition {
NumberAnimation {
properties: "opacity,scale"
properties: "opacity,scale,anchors.leftMargin"
duration: 200
easing.type: Easing.InOutQuad
}
}
]