Results 1 to 2 of 2

Thread: Modelling a QLCDNumber in QML

  1. #1
    Join Date
    Sep 2008
    Posts
    60
    Thanks
    20
    Thanked 3 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Modelling a QLCDNumber in QML

    Hello,
    I just started porting my actual Qt C++ app to qt quick, and I need a widget equal/similar to QLCDNumber style.
    What do you recommend to do?
    Thank you very much for any kind of information.

  2. #2
    Join Date
    Aug 2011
    Posts
    7
    Thanked 1 Time in 1 Post

    Default Re: Modelling a QLCDNumber in QML

    First of all ask yourself if you really need an LCD number. Even consumer electronics rarely use them any more so in most cases your application will look better by just using a Text label with normal readable fonts. If you really want it, I would recommend either installing a system LCD Number font and set this on your Text item or if you want to give it a bit more effort, you can download some stock lcd number artwork, split it into individual numbers and place each Image item in a row. A basic google search gave me this for instance:
    http://www.shutterstock.com/pic-3751...ht-effect.html

Similar Threads

  1. [java] HasSet vs ArrayList and modelling issue
    By mickey in forum General Programming
    Replies: 2
    Last Post: 13th September 2010, 18:14
  2. QLCDNumber problem
    By ale301168 in forum Newbie
    Replies: 1
    Last Post: 11th November 2009, 21:16
  3. QLCDNumber display
    By jhearon in forum Qt Programming
    Replies: 0
    Last Post: 26th October 2008, 23:53
  4. objects modelling
    By mickey in forum General Discussion
    Replies: 1
    Last Post: 12th April 2008, 08:14
  5. QLabel and QLCDNumber
    By mickey in forum Newbie
    Replies: 5
    Last Post: 17th March 2006, 08:12

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.