Results 1 to 2 of 2

Thread: QTextBrowser and Hover

  1. #1
    Join Date
    Dec 2007
    Posts
    628
    Thanks
    3
    Thanked 89 Times in 87 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default QTextBrowser and Hover

    I want to display some HTML pages using QTextBrowser. I am using Qt4.2.2 and VS2005.
    Poblem is: I want to change the image of button on mouse hover. But GIF images are not working (and i am not getting any options for building qt with gif support).

    And Qt documentation says "All CSS 2.1 selector classes are supported except pseudo-class selectors such as :first-child, :visited and :hover. so its not possible operate on hover event"

    So tell me any way to display html pages with changing button images on mouse hover.

    thanking you

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: QTextBrowser and Hover

    I'm not sure about hover effects but at least animation is possible, see our wiki: [WIKI]Animation in QTextEdit[/WIKI].
    J-P Nurmi

Similar Threads

  1. GIF or MNG images for use in html for QTextBrowser
    By manojmka in forum Qt Programming
    Replies: 3
    Last Post: 2nd January 2008, 16:30
  2. QTextBrowser Issues
    By anju123 in forum Qt Programming
    Replies: 0
    Last Post: 20th July 2007, 05:28

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.