Results 1 to 2 of 2

Thread: QGraphicsTextItem vs QTextEdit/QTextBrowser

  1. #1
    Join Date
    Jul 2009
    Location
    Valladolid, Spain
    Posts
    125
    Thanks
    16
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default QGraphicsTextItem vs QTextEdit/QTextBrowser

    This question is pretty simple. What are the advantages of using a QGraphicsTextItem over QTextEdit/QTextBrowser?
    Do I get major performance when rendering text (a lot of text)?

    Also, are there any examples available so I could look how to use QGraphicsTextItem?

    Thanks

  2. #2
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    1,938
    Thanked 268 Times in 268 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Wiki edits
    20

    Default Re: QGraphicsTextItem vs QTextEdit/QTextBrowser

    The best way to answer this question is to create some sample/test projects yourself and do some debugging and benchmarking.

    The question sounds simple, but it's far from simple to answer.

Similar Threads

  1. Replies: 51
    Last Post: 26th November 2010, 13:24
  2. Line spacing in QTextEdit/QTextBrowser
    By Valheru in forum Qt Programming
    Replies: 5
    Last Post: 10th November 2010, 13:47
  3. QTextBrowser/QTextEdit html block width issue
    By lexar in forum Qt Programming
    Replies: 2
    Last Post: 26th January 2010, 12:47
  4. Replies: 1
    Last Post: 16th February 2007, 07:22
  5. QGraphicsTextItem - is it a bug there?
    By Tair in forum Qt Programming
    Replies: 5
    Last Post: 18th October 2006, 08:48

Tags for this Thread

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.