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 } } ]如何自动触发