PDA

View Full Version : QTextBrowser and Hover



yogeshgokul
5th January 2008, 07:34
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

jpn
5th January 2008, 12:18
I'm not sure about hover effects but at least animation is possible, see our wiki: Animation in QTextEdit.