Results 1 to 4 of 4

Thread: Custom tooltips (QTJambi)

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2008
    Posts
    2
    Qt products
    Qt4
    Platforms
    Windows

    Default Custom tooltips (QTJambi)

    Hi guys, I'm in the middle of programming a project for school based on the world of warcraft talent calculator. I'm having a problem with tooltips though. I can't seem to get tooltips styles to work at all. I can set the text properly, but actually styling them does not work. What I want is a black window much like the ones that show up when you h over over a talent (demo: https://www.worldofwarcraft.com/info...r/talents.html)


    The way things work now: Each talent is a QGraphicsItem, each tree is a QGraphicsScene inside a QFrame. The whole thing is wrapped in a QTalentWidget. I've experimented with having the hover event draw a custom window for the talent, which I'ved styled successfully, but the window doesn't extend the Scene, but tooltips do.

    So is there a way to style tooltips that I am unaware of? Or is there a way to make this custom window I have being drawn have the ability to display over top of everything? I'm using QT Jambi with eclipse. If its worth anything, I have the same problem witht he QT stylesheet demo, can't change the tooltip properties.

    Using the JAMBI demo launcher, the style DOES NOT change when I edit the stylesheet. Using the C++ demo launcher, it DOES change. Does jambi not have the ability to style tooltips?
    Last edited by Affinity; 10th March 2008 at 13:27.

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.