Results 1 to 6 of 6

Thread: QListView to open external links

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Oct 2012
    Posts
    132
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows Android
    Thanks
    10
    Thanked 21 Times in 21 Posts

    Default Re: QListView to open external links

    How do you display the links?

  2. #2
    Join Date
    Dec 2008
    Location
    Istanbul, TURKEY
    Posts
    537
    Qt products
    Qt4
    Platforms
    Windows Android
    Thanks
    14
    Thanked 13 Times in 13 Posts

    Default Re: QListView to open external links

    I'm filtering the sent/received message with a QRegExp that analyzes all the links in the message and converted them to html links by covering them with "<a href...>the link</a>". Once I do this and add it the list view, links displayed as expected(blue & underlined).

Similar Threads

  1. About Qt and external libraries... Tutorials? Links?
    By tonnot in forum General Programming
    Replies: 3
    Last Post: 12th January 2011, 00:30
  2. Replies: 1
    Last Post: 27th September 2010, 14:21
  3. HTML and *clickable links* inside a QListView?
    By Garibaldi in forum Qt Programming
    Replies: 1
    Last Post: 25th November 2008, 10:44
  4. How to Open External Links?
    By merry in forum Qt Programming
    Replies: 1
    Last Post: 18th March 2008, 06:47
  5. open an external links
    By sudheer in forum Qt Tools
    Replies: 4
    Last Post: 17th January 2008, 04:50

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
  •  
Qt is a trademark of The Qt Company.