离线tiaotiaoking
 
只看楼主 倒序阅读 楼主  发表于: 2011-08-31
qml如何不发送鼠标和键盘事件来自动出发state
如:
states: State {            name: "visible"            PropertyChanges { target: popup; opacity: 1 }            PropertyChanges { target: popup; y: (webView.height-popup.height)/2 }        }        transitions: [            Transition { from: ""; PropertyAnimation { properties: "opacity,y"; duration: 65 } },            Transition { from: "visible"; PropertyAnimation { properties: "opacity,y"; duration: 500 } }        ]如何自动触发
快速回复
限100 字节
 
上一个 下一个