Results 1 to 5 of 5

Thread: Manipulate QGraphicsTextItems on a QGraphicsScene

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #4
    Join Date
    Sep 2011
    Posts
    1,241
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    3
    Thanked 127 Times in 126 Posts

    Default Re: Manipulate QGraphicsTextItems on a QGraphicsScene

    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.

  2. The following user says thank you to amleto for this useful post:

    airglide (28th July 2012)

Similar Threads

  1. how to manipulate a very large data using QT?
    By aurora in forum Qt Programming
    Replies: 10
    Last Post: 25th May 2012, 17:37
  2. PyQt: How to manipulate QFileDialog
    By xaverxn in forum Newbie
    Replies: 1
    Last Post: 28th October 2010, 20:58
  3. How to manipulate a thread
    By avis_phoenix in forum Newbie
    Replies: 1
    Last Post: 18th August 2008, 23:34
  4. how to manipulate the keyboard event?
    By Ricardo_arg in forum Qt Programming
    Replies: 2
    Last Post: 4th August 2008, 07:49
  5. [java] manipulate a string
    By mickey in forum General Programming
    Replies: 5
    Last Post: 10th July 2008, 20:22

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.