Results 1 to 3 of 3

Thread: Line Numbering in textedit

  1. #1
    Join Date
    Nov 2013
    Location
    Chandigarh, India
    Posts
    62
    Thanks
    8
    Thanked 11 Times in 7 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Windows

    Default Line Numbering in textedit

    I am using a textedit along with some other components in a Qt Gui Application. I wish to introduce line numbering and line highlighting to the textedit. I referred to various links but it shows only single textedit on the entire Main Window instead I want to use textedit as well as other gui components. Can someone help me for this? I am posting the link that I referred.

    http://qt-project.org/doc/qt-4.8/wid...odeeditor.html

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

    Default Re: Line Numbering in textedit

    Hi ... yo can find a lot of example on qt apps http://qt-apps.org/index.php?xcontentmode=4210
    by read of source code you can learn more....

  3. #3
    Join Date
    Mar 2008
    Location
    Kraków, Poland
    Posts
    1,536
    Thanked 284 Times in 279 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Line Numbering in textedit

    What really is your problem? Numbering and highlighting rows in the widget has nothing to do with the fact that it is the only widget or one of the many.

Similar Threads

  1. TextEdit with one line
    By alizadeh91 in forum Qt Quick
    Replies: 4
    Last Post: 3rd November 2012, 21:53
  2. Replies: 9
    Last Post: 13th October 2011, 20:43
  3. Insert line to textedit
    By wirasto in forum Qt Programming
    Replies: 1
    Last Post: 18th December 2009, 15:59
  4. How can I paint a line in TextEdit on QT-4.3.2?
    By cslijy in forum Qt Programming
    Replies: 2
    Last Post: 23rd November 2007, 08:08

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.