1 import QtQuick 1.0 // to target S60 5th Edition or Maemo 5
3 //import QtMultimediaKit 1.1
4 import "../UIConstants.js" as Const
9 width: box.width; height: box.height
14 color: Const.SHADOW_COLOR;
16 x: 2*Const.SHADOW_OFFSET;
17 y: 2*Const.SHADOW_OFFSET;
23 height: text.height+30
24 color: Const.DEFAULT_DIALOG_FOREGROUND_COLOR
26 border.color: Const.WARM_GREY_COLOR
30 anchors.centerIn: parent
32 color: Const.DEFAULT_BACKGROUND_COLOR
33 wrapMode: Text.WordWrap
34 font.pixelSize: Const.DEFAULT_FONT_PIXEL_SIZE
39 onClicked: tip.state = "invisible"
52 function show2(_text,interval)
55 time.interval = interval;
69 source: "../sound/message.wav"
76 //console.log("time");
77 tip.state = "invisible";
84 PropertyChanges { target: root; opacity: 1 }
88 PropertyChanges { target: root; opacity: 0 }
89 PropertyChanges { target: root; x: 0 }
90 PropertyChanges { target: root; y: 0 }
94 transitions: Transition {
95 NumberAnimation { properties: "opacity"; easing.type: Easing.InOutQuad }
96 NumberAnimation { properties: "x"; easing.type: Easing.InOutQuad }
97 NumberAnimation { properties: "y"; easing.type: Easing.InOutQuad }