Results 1 to 2 of 2

Thread: QtTreePropertyBrowser Tooltip on the Property or clickable Property item.

  1. #1
    Join Date
    Nov 2014
    Posts
    1
    Qt products
    Qt5
    Platforms
    Windows

    Default QtTreePropertyBrowser Tooltip on the Property or clickable Property item.

    Hi everyone,

    I have a bunch of items for a QtTreePropertyBrowser widget and I want to inform the user what each property does by showing a brief message when hovering over it and extended information when clicking the property part. I can set the tooltip for the QtVariantProperty by using setToolTip() but it only shows moment later after hovering over the value part and it disappears awhile later. I was wondering if the following are possible and how would I approach it.

    1] Tooltip shows up and stay over the property part of the QtTreePropertyBrowser widget indefinitely.
    2] How can I make the property part clickable, so it can show a message box with further information.


    Thanks in advance.

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: QtTreePropertyBrowser Tooltip on the Property or clickable Property item.

    Have you considered WhatsThis style help? http://qt-project.org/doc/qt-5/qwhatsthis.html

    Cheers,
    _

Similar Threads

  1. Replies: 4
    Last Post: 27th August 2012, 19:27
  2. QML: Property Z on listViews
    By kuemeele in forum Qt Programming
    Replies: 5
    Last Post: 2nd December 2010, 16:28
  3. height property not adjusted when QTreeView item selected
    By hubbobubbo in forum Qt Programming
    Replies: 1
    Last Post: 22nd April 2010, 15:38
  4. QtTreePropertyBrowser and tooltip
    By jobrandt in forum Qt Programming
    Replies: 1
    Last Post: 5th October 2009, 09:43
  5. QMenu/QPopupMenu item's color and italic property
    By ultr in forum Qt Programming
    Replies: 0
    Last Post: 30th March 2009, 12:47

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.