Results 1 to 2 of 2

Thread: Put a QTextTable on a QTextEdit over QTextDocumentFragment

  1. #1
    Join Date
    May 2006
    Posts
    788
    Thanks
    49
    Thanked 48 Times in 46 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Put a QTextTable on a QTextEdit over QTextDocumentFragment

    Is this possibel... from subjekt?

    The QTextTable class represents a table in a QTextDocument.

    I suppose is on html format ... or waht oder format?

    if true ... How make so a table ... no has sample?

    Put a QTextTable on a QTextEdit over QTextDocumentFragment

    Qt Code:
    1. QTextDocumentFragment fragment = QTextDocumentFragment::fromHtml(sthtml);
    2. html_area->textCursor().insertFragment(fragment);
    To copy to clipboard, switch view to plain text mode 

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Put a QTextTable on a QTextEdit over QTextDocumentFragment

    If you still have this problem, could you explain it a bit more using full english sentences? I think the reason why nobody answered that thread is that we didn't know what you meant to tell us.

Similar Threads

  1. QTextEdit API questions (plain text)
    By Gaspar in forum Qt Programming
    Replies: 4
    Last Post: 16th May 2006, 06:03
  2. [QT 4] QTextEdit performance
    By fellobo in forum Qt Programming
    Replies: 8
    Last Post: 6th March 2006, 19:27
  3. Painting to QTextEdit
    By gesslar in forum Qt Programming
    Replies: 8
    Last Post: 18th February 2006, 18:40
  4. Obtaining clean (x)html from QTextEdit
    By ccf_h in forum Qt Programming
    Replies: 1
    Last Post: 5th February 2006, 14:47
  5. QTextEdit Justify align making work
    By dec0ding in forum Qt Programming
    Replies: 2
    Last Post: 13th January 2006, 12:02

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.