how to select inner red circle from these two circles



  • 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



  • @Vijay-Lamkane said:

    QGraphicsEllipseItem

    I'm assuming that you are using the mouse to select the circle.
    Use QGraphicsEllipseItem.contains(...) method find where the mouse is clicked.



  • @dheerendra thnks for your reply.

    yes i use mouse click to select circle


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.