Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Highlighting an area in QGraphicsView PyQt5 #189

Open
Aleksandr34nov opened this issue Aug 27, 2024 · 1 comment
Open

Highlighting an area in QGraphicsView PyQt5 #189

Aleksandr34nov opened this issue Aug 27, 2024 · 1 comment

Comments

@Aleksandr34nov
Copy link

  • 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.

@892768447
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants