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
-
pyqt-single-image-graphics-view - main image view
-
pyqt-svg-button - for navigation button on left and right sides
-
pyqt-ani-radiobutton - for navigation button at the bottom
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
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for pyqt_slideshow-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5158d4cd37a4c61ca7b9f1bf4242d22d00643eec665885e414dc2602c0931741 |
|
MD5 | 995232624b0191bd76f67de6f1c1cc1a |
|
BLAKE2b-256 | 94a1a4ac01f24c51fd0278b978c7c0fc8401adfeaaed07915b12ce90de5847ed |