Results 1 to 2 of 2

Thread: Regarding tooltip

  1. #1
    Join Date
    Jul 2007
    Location
    Noida
    Posts
    46
    Thanks
    7
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Question Regarding tooltip

    Hi All,

    I am using Qt 3.3 and I have to add two functionality text wrap and tool tip on button . But I am not getting any function for that.

    Is there any function for this or plesae tell me how we can achieve this thing in Qt 3.3.

    Thanks in Advance
    Ashish Kumar Saryar
    Ashish Kumar Saryar

  2. #2
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: Regarding tooltip

    • For the tool tip see QToolTip::add() and maybe QWhatsThis, depending what you want.
    • For the text wrap, subclass QPushButton and do the drawing in the paintEvent yourself. You also need to alter the widgets size hint...
    • Consider to upgrade from 3.3...

Similar Threads

  1. Tooltip in Qwt
    By Ankitha Varsha in forum Qwt
    Replies: 5
    Last Post: 8th December 2009, 12:07
  2. QtTreePropertyBrowser and tooltip
    By jobrandt in forum Qt Programming
    Replies: 1
    Last Post: 5th October 2009, 09:43
  3. Extended Tooltip
    By aamer4yu in forum Qt Programming
    Replies: 12
    Last Post: 26th July 2008, 11:18
  4. ToolTip with images
    By visor_ua in forum Qt Programming
    Replies: 2
    Last Post: 18th May 2008, 18:50
  5. ToolTip....
    By merry in forum Qt Programming
    Replies: 27
    Last Post: 3rd August 2007, 10:42

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.