Results 1 to 12 of 12

Thread: using setStyleSheet

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Sep 2007
    Posts
    18
    Thanks
    3

    Default Re: using setStyleSheet

    so, there is no way we can set the
    { font : underline; } attribute through stylesheets???

    NOTE: { font : underline; } fails. This is not the right way of doing it.

    But i dont know the right way either.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,376
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    4
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: using setStyleSheet

    I don't know if Qt supports it, but in CSS it should be "text-decoration: underline;" as far as I remember.

  3. The following user says thank you to wysota for this useful post:

    dyams (21st January 2008)

  4. #3
    Join Date
    Jan 2008
    Posts
    1
    Qt products
    Qt4
    Platforms
    Unix/X11
    Thanked 1 Time in 1 Post

    Default Re: using setStyleSheet

    Quote Originally Posted by wysota View Post
    I don't know if Qt supports it, but in CSS it should be "text-decoration: underline;" as far as I remember.
    Yes, Qt4.3.x support the most syntax of CSS2, including the "text-decoration: underline;" as you posted

  5. The following user says thank you to jameleon for this useful post:

    dyams (21st January 2008)

Similar Threads

  1. QSpinBox and setStylesheet problem
    By Ace-X in forum Qt Programming
    Replies: 2
    Last Post: 19th January 2007, 12: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.