mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-07-26 06:14:45 +00:00
fade anim
This commit is contained in:
parent
25dc5015e6
commit
130b201b2b
1 changed files with 13 additions and 1 deletions
|
|
@ -17,7 +17,7 @@
|
||||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import QtQuick 2.0
|
import QtQuick 2.3
|
||||||
import QtQuick.Controls 1.3
|
import QtQuick.Controls 1.3
|
||||||
import QtQuick.Layouts 1.1
|
import QtQuick.Layouts 1.1
|
||||||
import org.nemomobile.voicecall 1.0
|
import org.nemomobile.voicecall 1.0
|
||||||
|
|
@ -116,6 +116,12 @@ ApplicationWindow {
|
||||||
when: root.visible && root.status == 0
|
when: root.visible && root.status == 0
|
||||||
source: Qt.resolvedUrl("Dialer.qml")
|
source: Qt.resolvedUrl("Dialer.qml")
|
||||||
opacity: root.status == 0 ? 1 : 0
|
opacity: root.status == 0 ? 1 : 0
|
||||||
|
Behavior on opacity {
|
||||||
|
OpacityAnimator {
|
||||||
|
duration: units.shortDuration
|
||||||
|
easing.type: Easing.InOutQuad
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
PlasmaExtras.ConditionalLoader {
|
PlasmaExtras.ConditionalLoader {
|
||||||
|
|
@ -123,6 +129,12 @@ ApplicationWindow {
|
||||||
when: root.status > 0
|
when: root.status > 0
|
||||||
source: Qt.resolvedUrl("Call/CallPage.qml")
|
source: Qt.resolvedUrl("Call/CallPage.qml")
|
||||||
opacity: root.status > 0 ? 1 : 0
|
opacity: root.status > 0 ? 1 : 0
|
||||||
|
Behavior on opacity {
|
||||||
|
OpacityAnimator {
|
||||||
|
duration: units.shortDuration
|
||||||
|
easing.type: Easing.InOutQuad
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//END UI
|
//END UI
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue