yazwas
25th November 2009, 21:47
hello all
i have multiple QGraphicsPolygonItem items. i want the user to be able to order them by clicking on them by mouse, much like the tab order used in Qt Creator.
My question is what is the best method to do this, should i create another graphics item, like a little square, and attach every item of them to the polygon items, and override the mouse click button to order them, or is there a better way you can suggest?
thanks in advance
i have multiple QGraphicsPolygonItem items. i want the user to be able to order them by clicking on them by mouse, much like the tab order used in Qt Creator.
My question is what is the best method to do this, should i create another graphics item, like a little square, and attach every item of them to the polygon items, and override the mouse click button to order them, or is there a better way you can suggest?
thanks in advance