Results 1 to 2 of 2

Thread: QLCDNumber justify

  1. #1
    Join Date
    May 2007
    Location
    Huntsville, Alabama
    Posts
    10
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Windows

    Default QLCDNumber justify

    I'm using Qt4.3 in windows XP on VS NET 2003.

    I AM able to make a dialog containing a QLCDNumber widget which displays double numbers:
    12.3
    12.03
    12

    What I CANT get it to do is to display the numbers including trailing zeros i.e.
    12.30
    12.03
    12.00.

    I want to use the QLCDNumber widget to display a timer (up to miliseconds). However, as the time is updated quickly, it appears to jump around the QLCDNumber widget.

    any ideas?
    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: QLCDNumber justify

    I don't think this widget is capable of such things. You'd have to create your own.

Similar Threads

  1. Backgroundcolor QLCDNumber in Windows?
    By Teuniz in forum Qt Programming
    Replies: 4
    Last Post: 30th August 2006, 15:09
  2. QLabel and QLCDNumber
    By mickey in forum Newbie
    Replies: 5
    Last Post: 17th March 2006, 08:12
  3. QTextEdit Justify align making work
    By dec0ding in forum Qt Programming
    Replies: 2
    Last Post: 13th January 2006, 12: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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.