Results 1 to 2 of 2

Thread: Constantly updating tooltip text

  1. #1
    Join Date
    Apr 2016
    Posts
    5
    Thanks
    1

    Default Constantly updating tooltip text

    Hello all,

    I'd like to ask a question about the tooltip.

    I keep receiving position and orientation data from a server (python socket),
    and I want to display them using a tooltip.
    But I don't know how to keep updating the tooltip text.
    Note that the data is updating about 10 times per second.

    Thanks.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Constantly updating tooltip text

    It depends how you are showing the tooltip in the first place. For example you can use QWidget::setToolTip() or QToolTip::showText().
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Incomplete text as tooltip in QTableWidget
    By mqt in forum Qt Programming
    Replies: 4
    Last Post: 7th July 2013, 04:32
  2. Replies: 2
    Last Post: 7th January 2012, 15:42
  3. Replies: 1
    Last Post: 8th April 2011, 19:54
  4. Replies: 6
    Last Post: 28th March 2011, 18:53
  5. Replies: 4
    Last Post: 6th April 2010, 00:46

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.