you can do as you are (if I understand correctly) and keep your own list of QGraphicsTextItem*, or you can just use dynamic_cast or qobject_cast to check if QGraphicsItem is also a QGraphicsTextItem
you can do as you are (if I understand correctly) and keep your own list of QGraphicsTextItem*, or you can just use dynamic_cast or qobject_cast to check if QGraphicsItem is also a QGraphicsTextItem
If you have a problem, CUT and PASTE your code. Do not retype or simplify it. Give a COMPLETE and COMPILABLE example of your problem. Otherwise we are all guessing the problem from a fabrication where relevant details are often missing.
airglide (28th July 2012)
Bookmarks