Results 1 to 4 of 4

Thread: QLCDNumber and desimal point

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Join Date
    Oct 2009
    Posts
    3
    Thanked 1 Time in 1 Post
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Smile Re: QLCDNumber and desimal point

    Hi,

    Solved it by using QTime.

    Qt Code:
    1. QString text = countDown.toString("mm:ss");
    2. ui->countDownLcdNumber->display(text);
    3. countDown = countDown.addSecs(-1);
    To copy to clipboard, switch view to plain text mode 
    Last edited by spylvas; 14th October 2009 at 09:38.

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

    V4Friend (13th August 2011)

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.