Skip to main content

PyQt widget for slide show

Project description

pyqt-slideshow

PyQt widget for slide show

Requirements

  • PyQt5 >= 5.8

Setup

python -m pip install pyqt-slideshow

Included Packages

Method Overview

  • setFilenames(filenames: list) - give the image files. You have to call this one time only so far.

  • setInterval(milliseconds: int) - set the image change interval

Example

Code Sample

from PyQt5.QtWidgets import QApplication

from pyqt_slideshow import SlideShow





if __name__ == "__main__":

    import sys



    app = QApplication(sys.argv)

    s = SlideShow()

    s.setFilenames(['bioshock.jpg', 'dragon_age.jpg', 'ride_to_hell_retribution.jpg'])

    s.show()

    app.exec_()

Result

https://user-images.githubusercontent.com/55078043/170615616-932fb93d-3311-4f97-8ad7-10943e0d2308.mp4

I'm still working on SvgButton's style. You can see the <, > buttons in the picture. Those things are SvgButton.

It is kinda ugly looking and could be hard to see depending on the photo. So i will definitely change the style.

Note: Don't play the last game on the list.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyqt-slideshow-0.0.4.tar.gz (4.3 kB view hashes)

Uploaded Source

Built Distribution

pyqt_slideshow-0.0.4-py3-none-any.whl (5.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page