jano_alex_es
26th October 2009, 12:11
Hi,
in my app some QGraphicsItems are created when the user clicks on the scene, and my idea is to create it in the place the user's click.
But, the view moves and it's created on the center of the screen (if there are no other items), is ok for other items, but not specifically for those.
I was checking fitInView and ensureVisible, but they do the opposite.
thanks!
in my app some QGraphicsItems are created when the user clicks on the scene, and my idea is to create it in the place the user's click.
But, the view moves and it's created on the center of the screen (if there are no other items), is ok for other items, but not specifically for those.
I was checking fitInView and ensureVisible, but they do the opposite.
thanks!