Skip to content

Highlighting an area in QGraphicsView PyQt5 #189

Open
@Aleksandr34nov

Description

@Aleksandr34nov
  • OS: Win 10
  • Python: 3.7 X64
  • PyQt5: 5.10.1

Hi, everybody
I am writing an interface in PyQt 5
It is necessary to implement an area selection mode on the QGraphicsView on which the QGraphicsScene is located
Example on gif:
IMG_6014 3

It is necessary to be able to resize the selected area using points in the middle of the edges and corners of the area.
The area is highlighted in the uploaded photo.
That is, you just need to select an area and get the coordinates of the selected area.

If someone can suggest how this can be done or video similar solutions, then I will be grateful for any sources and links to examples.
Thank you in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions