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 hashes)

Uploaded Source

Built Distribution

pyqt_popup_graphics_view-0.0.1-py3-none-any.whl (16.0 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