Results 1 to 5 of 5

Thread: refreshing labels

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Join Date
    Feb 2006
    Location
    Romania
    Posts
    2,744
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    8
    Thanked 541 Times in 521 Posts

    Default Re: refreshing labels

    You set the numbers too fast. The label doesn't get the chance to update.
    You should use a QTimer with an interval of 100-200ms. Connect its timeout signal to a slot in which you update the label with a new value. Then you will be able to see something.

  2. The following user says thank you to marcel for this useful post:

    ht1 (29th December 2007)

Similar Threads

  1. Tick Labels for Slider
    By jcraig in forum Qt Tools
    Replies: 2
    Last Post: 9th August 2007, 18:21
  2. QSlider with a custom set of labels for the tick marks?
    By whitefurrows in forum Qt Programming
    Replies: 3
    Last Post: 5th August 2007, 17:05
  3. setting QTreeWidget vertical labels
    By hyling in forum Qt Programming
    Replies: 2
    Last Post: 10th January 2007, 19:53
  4. Refreshing problem
    By jaime in forum Qt Programming
    Replies: 3
    Last Post: 24th August 2006, 23:09
  5. Replies: 1
    Last Post: 23rd August 2006, 19:02

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
  •  
Qt is a trademark of The Qt Company.