Results 1 to 2 of 2

Thread: Looking for a hyperlink control

  1. #1
    Join Date
    Jun 2010
    Location
    Cincinnati, Ohio, USA
    Posts
    92
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Windows

    Question Looking for a hyperlink control

    I am coming from a Microsoft C++ and .Net world, in the .Net world Microsoft has a really useful control called LinkLabel. It is a text label that can have different range of text set as links to make them look like hyperlinks in a web browser. It doesn't look like Qt has such a control, so I was wondering if there might be a 3rd party version out there somewhere.

    Sam

  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: Looking for a hyperlink control

    QLabel can do that.
    See: http://doc.qt.nokia.com/4.6/qlabel.html#linkActivated

    To set the look of the text, you can add a simple css like you do with a html page.

Similar Threads

  1. Replies: 0
    Last Post: 16th December 2009, 09:45
  2. QTextEdit for Hyperlink
    By blueteeth in forum Qt Programming
    Replies: 4
    Last Post: 1st February 2008, 09:25
  3. How to create a HyperLink in Qt 4.1.5?
    By vishal.chauhan in forum Qt Programming
    Replies: 7
    Last Post: 18th May 2007, 06:36
  4. How to create a HyperLink in Qt?
    By vishal.chauhan in forum Newbie
    Replies: 1
    Last Post: 27th March 2007, 14:03
  5. creating a hyperlink
    By filmfreak in forum Qt Tools
    Replies: 1
    Last Post: 22nd February 2006, 00:49

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.