1 Attachment(s)
How to disable "app not responding dialog" [QML- MeeGo Harmattan PR1.2]
Hi
Can you disable the app not responding dialog from Qt or QML (please see attached) ? My Application requires you not to close it for it to continue. It shows that dialog because my app dynamically draws a lot of polylines (around 300 polylines, with a minimum of 2 coordinates, and maximum of 8 coordinates each polyline.), which probably freezes my app. But if you choose not to close the app, it will continue with its processes, and load successfully. Can anybody please help me how to disable this dialog, which was prompted by the system.
I am running on MeeGo Harmattan PR 1.2. Any help will be greatly appreciated
Attachment 7706
Thank you very very much!
Re: How to disable "app not responding dialog" [QML- MeeGo Harmattan PR1.2]
I have solved this by calling QApplication::ProcessEvents() every now and then during a long task.
Re: How to disable "app not responding dialog" [QML- MeeGo Harmattan PR1.2]
Read [wiki]Keeping the GUI Responsive[/wiki]. Divide your process into steps, draw each step into the pixmap and then just update() your widget and paint the pixmap to the widget in the paint event.
Re: How to disable "app not responding dialog" [QML- MeeGo Harmattan PR1.2]
Thank you very much mvuori, wysota. I will check out your suggestions. :)
Re: How to disable "app not responding dialog" [QML- MeeGo Harmattan PR1.2]
The call to QApplication::ProcessEvents() very now and then while creating the map objects worked for me as well.
Thank you all very much for the help. :D