Skip to main content

pyqt-loading-progressbar

PyQt animated progress bar used for loading

There are two types of animation - dynamic, fade.

Animation is set to dynamic by default.

You can set it with setAnimationType(type: str). You can give 'dynamic' or 'fade' to type argument.

Requirements

  • PyQt5 >= 5.8

Setup

python -m pip install pyqt-loading-progressbar

Example

Code Sample

from PyQt5.QtWidgets import QMainWindow, QApplication, QVBoxLayout, QLabel, QWidget

from pyqt_loading_progressbar.loadingProgressBar import LoadingProgressBar





class MainWindow(QMainWindow):

    def __init__(self):

        super().__init__()

        self.__initUi()



    def __initUi(self):

        bar = LoadingProgressBar()

        # bar.setAnimationType('fade') - if you want to set animation type to fade

        lay = QVBoxLayout()

        lay.addWidget(QLabel('Loading...'))

        lay.addWidget(bar)

        mainWidget = QWidget()

        mainWidget.setLayout(lay)

        self.setCentralWidget(mainWidget)





if __name__ == "__main__":

    import sys



    app = QApplication(sys.argv)

    w = MainWindow()

    w.show()

    app.exec_()

Result

Dynamic

https://user-images.githubusercontent.com/55078043/171343160-88a38bbf-cc7a-4d83-b2b1-66d7291999ef.mp4

Fade

https://user-images.githubusercontent.com/55078043/171527713-ef74326d-a84f-499f-a79f-1efc17e4ab76.mp4

Metadata

Release files for pyqt-loading-progressbar 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyqt-loading-progressbar 0.0.2
File Size Uploaded
pyqt-loading-progressbar-0.0.2.tar.gz 3.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyqt-loading-progressbar 0.0.2
File Interpreter ABI Platform
pyqt_loading_progressbar-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 6.8 kB

Release files / pyqt-loading-progressbar-0.0.2.tar.gz

Download URL pyqt-loading-progressbar-0.0.2.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
b615ccb596f62f132cac220f206f57da38a2c4a4f60ffd4f748a21cbe55aa561
BLAKE2b-256 checksum
How to use checksums
1a84a292edd4711f9306512c3509c8753244ca89b5b2a74986634e1c19ab1d44
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/0.0.0 CPython/3.7.6

Release files / pyqt_loading_progressbar-0.0.2-py3-none-any.whl

Download URL pyqt_loading_progressbar-0.0.2-py3-none-any.whl
Size 3.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e02ecf71d3e5e9c617e299e9a542f0d5d0de9dae9e5dbaa9cb2a8667a47df159
BLAKE2b-256 checksum
How to use checksums
4eac2d8af6f3462d5377fb108b51bc64b90879605ba014320377112dc90af1cf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/0.0.0 CPython/3.7.6

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page