Quantcast
Channel: Jobs
Viewing all articles
Browse latest Browse all 18427

QML has like doEvents?

$
0
0
I want show any indicate for heavy process. In heavy process starting, Visible the indicator. but, dosen’t show Indicator…. Rectangle {     width: 360     height: 360     Text {         id : waitIndicate         text: "PLEASE WAIT"         visible: false         anchors.fill : parent     }       MouseArea {         anchors.fill: parent         onClicked: {             //Indicate show             waitIndicate.visible = true                         //doEvent();  if use in .net framework                         //Haevy Process             for( var cnt = 0; cnt < 6000; cnt ++){                 console.debug(cnt)             }             //Indicate Hide             waitIndicate.visible = false         }     } } in this case of .net Framwork on microsoft. use the doEvents(). application method. doEvents means handles stacked EventHandler Messages. Do QML have something like that ?

Viewing all articles
Browse latest Browse all 18427

Trending Articles