Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yjg30737/pyqt-popup-graphics-view
PyQt Popup QGraphicsView (Image will pop up when move the mouse cursor inside the QGraphicsView)
https://github.com/yjg30737/pyqt-popup-graphics-view
pyqt pyqt-popup pyqt-popup-graphics-view pyqt-qgraphicsview pyqt5 pyqt5-examples pyqt5-popup pyqt5-popup-graphics-view pyqt5-qgraphicsview pyqt5-tutorial python python3 qgraphicsview qt
Last synced: 17 days ago
JSON representation
PyQt Popup QGraphicsView (Image will pop up when move the mouse cursor inside the QGraphicsView)
- Host: GitHub
- URL: https://github.com/yjg30737/pyqt-popup-graphics-view
- Owner: yjg30737
- License: gpl-3.0
- Created: 2021-12-08T05:07:42.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-05-13T09:06:55.000Z (over 2 years ago)
- Last Synced: 2024-10-04T03:48:09.541Z (3 months ago)
- Topics: pyqt, pyqt-popup, pyqt-popup-graphics-view, pyqt-qgraphicsview, pyqt5, pyqt5-examples, pyqt5-popup, pyqt5-popup-graphics-view, pyqt5-qgraphicsview, pyqt5-tutorial, python, python3, qgraphicsview, qt
- Language: Python
- Homepage:
- Size: 20.5 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
```python
from PyQt5.QtWidgets import QApplication
from pyqt_popup_graphics_view.popupGraphicsView import PopupGraphicsViewif __name__ == "__main__":
import sysapp = QApplication(sys.argv)
popupGraphicsView = PopupGraphicsView()
popupGraphicsView.setFileName('nico_bellic.png')
popupGraphicsView.show()
app.exec_()
```Result
![example](https://user-images.githubusercontent.com/55078043/145152674-baeb0b37-7e56-4185-92da-6d6d663ae829.png)
Note: Mouse cursor should've been top left of the image. Windows capture feature doesn't include the mouse cursor in the screenshot.