some finishing touches to the speed final flowchart
This commit is contained in:
parent
bbcd468ec3
commit
73f461432f
1 changed files with 15 additions and 7 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue