Results 1 to 3 of 3

Thread: wordwrap question

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Oct 2006
    Posts
    13
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    6
    Thanked 1 Time in 1 Post

    Default wordwrap question

    Hi there!
    Tell me please is there any way to setup wordwrap by characters for text added in
    QTextEdit in table. Here some strings from sample:

    qtext->setLineWrapMode (QTextEdit::FixedPixelWidth);
    ...
    constraints << QTextLength(QTextLength::PercentageLength,10);
    ...
    orderTableFormat.setColumnWidthConstraints(constra ints);
    ...
    orderTable= mycursor.insertTable(1, 3, orderTableFormat);

    --
    Thanks!
    Last edited by igor_x; 2nd November 2006 at 07:45.

Similar Threads

  1. QTextEdit simple question
    By Marcopolo in forum Qt Tools
    Replies: 4
    Last Post: 11th October 2007, 01:01
  2. QThread exit()/quit() question
    By TheKedge in forum Qt Programming
    Replies: 1
    Last Post: 28th August 2006, 15:38
  3. Replies: 6
    Last Post: 19th March 2006, 19:41
  4. QTextEdit Qt4: simple question
    By TheKedge in forum Qt Programming
    Replies: 4
    Last Post: 18th January 2006, 13:03
  5. xml with binary question
    By TheKedge in forum Qt Programming
    Replies: 7
    Last Post: 13th January 2006, 00:21

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.