Create Spin Progress bar in Qt

后端 未结 3 1253
误落风尘
误落风尘 2021-01-19 10:57

Create Spin Progress bar in Qt, I want to show progress bar like the one which appears while loading. Please Find Image <script

3条回答
  •  甜味超标
    2021-01-19 11:20

    In order to change the cursor wou have to use the setCursor function or the setOverrideCursor in order to apply it to the application. You can construct any cursor you want using a QPixmap as constructor argument.

    In order to achieve an animation effect you will need a QTimer. At every timer event you have to change the cursor's pixmap in order give the feel of animation.

提交回复
热议问题