PyQt popup QGraphicsView (image will pop up when move the mouse cursor inside the QGraphicsView)
Project description
pyqt-popup-graphics-view
PyQt Popup QGraphicsView (Image will pop up when move the mouse cursor inside the QGraphicsView, follow the cursor if you move it inside of the window)
Requirements
PyQt5 >= 5.8
Setup
python -m pip install pyqt-popup-graphics-view
Example
Code Example
from PyQt5.QtWidgets import QApplication
from pyqt_popup_graphics_view.popupGraphicsView import PopupGraphicsView
if __name__ == "__main__":
import sys
app = QApplication(sys.argv)
popupGraphicsView = PopupGraphicsView()
popupGraphicsView.setFileName('nico_bellic.png')
popupGraphicsView.show()
app.exec_()
Result
Note: Mouse cursor should've been top left of the image. Windows capture feature doesn't include the mouse cursor in the screenshot.
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
File details
Details for the file pyqt-popup-graphics-view-0.0.1.tar.gz
.
File metadata
- Download URL: pyqt-popup-graphics-view-0.0.1.tar.gz
- Upload date:
- Size: 14.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/0.0.0 CPython/3.7.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 00d692d5666730219c3db88e39f075c5c3344b15907d3d31b6bf33703a73bd50 |
|
MD5 | efb1ecabd10c7423b647551a10f3efb9 |
|
BLAKE2b-256 | 5d45ef6022d61b76d9d258c0fd379f689501cabf0b21136828c4d894ee42af8e |
File details
Details for the file pyqt_popup_graphics_view-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: pyqt_popup_graphics_view-0.0.1-py3-none-any.whl
- Upload date:
- Size: 16.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/0.0.0 CPython/3.7.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd9ef9cd294cef2bd3e082b9b27e5e9e738bde173e792476517d49fa54149fdf |
|
MD5 | c3aff25f1b95aeb3797d03a6514791df |
|
BLAKE2b-256 | d0f148212e092d5394773a7b2bc6058a6cd56a6a6a90281a1645f1faf0b75831 |