Results 1 to 4 of 4

Thread: word wrap

  1. #1
    Join Date
    May 2010
    Posts
    30
    Qt products
    Qt4

    Default word wrap

    hello,

    how can I implement an option to enable or disable the word wrap feature in a QPlainTextEdit window ?

    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: word wrap

    You add whatever (button, menu, ...) to your window and when you click on it (or press a key or something else), you set the word wrap mode.

    What is it exactly that you do not understand?

  3. #3
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: word wrap

    Also, Please stop posting these kind of questions in this forum, thats what the Newbie section is for!

  4. #4
    Join Date
    May 2010
    Posts
    30
    Qt products
    Qt4

    Default Re: word wrap

    What seemed unclear to me was how to use this option, but I figured it out now, thanks for your help and sorry for bothering you.

Similar Threads

  1. KTitleWidget & word wrap
    By miraks in forum KDE Forum
    Replies: 3
    Last Post: 29th March 2009, 23:24
  2. Word wrap of QLabel
    By jimfan in forum Qt Programming
    Replies: 1
    Last Post: 16th February 2008, 04:49
  3. Qt layouting + QLabel's word wrap = bug?
    By dimuz in forum Qt Programming
    Replies: 6
    Last Post: 5th September 2007, 11:15
  4. Word wrap in QListView
    By jiveaxe in forum Qt Programming
    Replies: 33
    Last Post: 1st September 2007, 21:06
  5. QListView word wrap
    By serega in forum Qt Programming
    Replies: 17
    Last Post: 30th August 2007, 03:13

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.