This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# original source : https://stackoverflow.com/questions/33577068/any-pyqt-circular-progress-bar | |
# but it was pyqt4 | |
# I modified it for PyQt5 | |
from PyQt5 import QtCore, QtGui, Qt, QtWidgets | |
import sys | |
class QRoundProgressBar(QtWidgets.QWidget): | |
StyleDonut = 1 | |
StylePie = 2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
############################################################################# | |
## | |
## Copyright (C) 2013 Riverbank Computing Limited. | |
## Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). | |
## All rights reserved. | |
## | |
## This file is part of the examples of PyQt. |