Results 1 to 2 of 2

Thread: Moving Tooltip out of cursor-area

  1. #1
    Join Date
    Jan 2006
    Posts
    1
    Qt products
    Qt3
    Platforms
    Unix/X11

    Default Moving Tooltip out of cursor-area

    Hy,
    we need to use a big cursor theme.
    Unfortunately the big Cursor overlays the first letters of the tooltips which is not acceptable within some apps.

    How can I move the relative position of the tooltip to the cursor so it does not interfear with the big cursor?

    I would accept a hardcodes systemwide solution if there is no configuration for this.

    System: KDE 3.5.0 on Debian Sarge

    Thanks
    Andreas

  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: Moving Tooltip out of cursor-area

    Subclass QTooltip
    http://doc.trolltech.com/3.3/qtooltip.html

    And use the protected functions of QTooltip.

    I guess this will work.
    You can set the geometry with one of the protected tip functions.

Similar Threads

  1. Extended Tooltip
    By aamer4yu in forum Qt Programming
    Replies: 12
    Last Post: 26th July 2008, 12:18
  2. Hot to set the tooltip of button
    By santosh.kumar in forum Qt Programming
    Replies: 3
    Last Post: 1st November 2007, 13:07

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.