Skip to content
wait progress for PyQt
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.idea
__pycache__
MyRotateProgress.py
MyWaitProgressDialog.py
README.md
testWaitProgress.py

README.md

用于PYQT的加载动画,基于QPainter实现


使用


self.progress = MyWaitProgressDialog('begin...',self)
        self.progress.RotateStyle = MyRotateProgress.MyRotateProgress.PenStyleNormal
        self.progress.exec()

分为三种样式


  1. PenStyleGradient

    self.progress.RotateStyle = MyRotateProgress.MyRotateProgress.PenStyleGradient

    ProgressGradient

  2. PenstylePerGradient

    self.progress.RotateStyle = MyRotateProgress.MyRotateProgress.PenstylePerGradient

    ProgressPerGradient

  3. PenstyleNormal

    self.progress.RotateStyle = MyRotateProgress.MyRotateProgress.PenstyleNormal

    ProgressNormal

You can’t perform that action at this time.