Hi,
I just come across QCoreApplication::postEvent ( QObject * receiver, QEvent * event ). May it help you.
Lykurg
Hi,
I just come across QCoreApplication::postEvent ( QObject * receiver, QEvent * event ). May it help you.
Lykurg
There was a FotoWall example on Qt-apps.org . Search and read the code.
It had features of resizing and rotating graphics item
As for ur case, moving is not a problem, graphics item can move in a scene.. you only need to enable flags for it
as for rotating, the fotowall example might help u![]()
Hi, thanks for replies!
I can't use QCoreApplication::postEvent ( QObject * receiver, QEvent * event ) since QGraphicsItem does not herites from QObject.
I will take a look at Fotowall, but I have already the resizing, rotating feature working on my items, what I want is to apply this feature at many items at the same time if items are colliding.
I will try again and let you if I find a solution to my problem.
Bookmarks