views:

53

answers:

1

I am new to Qt. First look at the image.

http://i225.photobucket.com/albums/dd200/saravanan_comp2001/sample.png

I need to create above like in Qt.

If I click the circle then, I need to give one popup message like this "You clicked 2 circle",

I need to add the circle in run time in any location. how to implement this in Qt using QGraphicsView or any other better way to implement this.

+1  A: 

The following page from Qt documentation can help you: http://doc.qt.nokia.com/4.6/graphicsview.html The Drag and drop example will help you to know how deals with your QGraphicItems

Hope that helps

Patrice Bernassola
Example is great. i need to know to implement the Circle click event. once the circle clicked i need to pass the Signal to Parent widget. i tried, but it's give the compiler error. Please help to implement the Click event.
saravanan
Can you provide the compiler error with your code?
Patrice Bernassola