Unsolved how to select inner red circle from these two circles
Vijay Lamkane last edited by A Former User
as u see in the above link there are two circles one is black and one red circle .
when i am going to select red circle the the black circle gets selects, how can i get/change focus on red circle, when i resize that black circle and place it inside red circle the both circles are selectable ie. now i can select red and black circle both.
QGraphicsScene and QGraphicsEllipseItem for drawing circle.
Edit: Moved the link to the image from the thread title to the body of your posting. -- @Wieland
dheerendra Qt Champions 2022 last edited by
I'm assuming that you are using the mouse to select the circle.
Use QGraphicsEllipseItem.contains(...) method find where the mouse is clicked.
Vijay Lamkane last edited by
@dheerendra thnks for your reply.
yes i use mouse click to select circle