Skip to main content

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

example

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


Download files

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

Source Distribution

pyqt-popup-graphics-view-0.0.1.tar.gz (14.9 kB view details)

Uploaded Source

Built Distribution

pyqt_popup_graphics_view-0.0.1-py3-none-any.whl (16.0 kB view details)

Uploaded Python 3

File details

Details for the file pyqt-popup-graphics-view-0.0.1.tar.gz.

File metadata

File hashes

Hashes for pyqt-popup-graphics-view-0.0.1.tar.gz
Algorithm Hash digest
SHA256 00d692d5666730219c3db88e39f075c5c3344b15907d3d31b6bf33703a73bd50
MD5 efb1ecabd10c7423b647551a10f3efb9
BLAKE2b-256 5d45ef6022d61b76d9d258c0fd379f689501cabf0b21136828c4d894ee42af8e

See more details on using hashes here.

File details

Details for the file pyqt_popup_graphics_view-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for pyqt_popup_graphics_view-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bd9ef9cd294cef2bd3e082b9b27e5e9e738bde173e792476517d49fa54149fdf
MD5 c3aff25f1b95aeb3797d03a6514791df
BLAKE2b-256 d0f148212e092d5394773a7b2bc6058a6cd56a6a6a90281a1645f1faf0b75831

See more details on using hashes here.

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