开发者

What is alternative of "QDDisplayWaitCursor"?

开发者 https://www.devze.com 2023-01-01 09:40 出处:网络
I am trying to display wait cursor (spinning rainbow wheel) by using \"QDDisplayWaitCursor\" function, but I get a warning that \"QDDisplayWaitCursor\" is deprecated, howeve开发者_高级运维r everything

I am trying to display wait cursor (spinning rainbow wheel) by using "QDDisplayWaitCursor" function, but I get a warning that "QDDisplayWaitCursor" is deprecated, howeve开发者_高级运维r everything runs fine but I would like to replace it with proper alternative of this function but I didnt find any google result and also in apple docs.


The best thing to do is to use something else1:

The spinning wait cursor is displayed automatically by the window server when an application cannot handle all of the events it receives. If an application does not respond for about 2 to 4 seconds, the spinning wait cursor appears. You should try to avoid situations in your application in which the spinning wait cursor will be displayed.

Instead use progress indicators, in a window- or application-modal way if neccessary.

0

精彩评论

暂无评论...
验证码 换一张
取 消