Results 1 to 2 of 2

Thread: String length to pixel

  1. #1
    Join Date
    Aug 2008

    Default String length to pixel

    Hello friends,

    Very new for this forum:-)

    I got stuck with one problem, hope there are kind people to help me out here.

    Suppose, I have a string with length of 10.
    How can I know how many pixels is that length? What function in Qt shall I look for to solve my problem???

    I appreciate your help. Thank you in advance.

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

    Default Re: String length to pixel

  3. The following user says thank you to wysota for this useful post:

    araglin (2nd April 2009)

Similar Threads

  1. saving a c string of variable length in a shared memory?
    By nass in forum General Programming
    Replies: 4
    Last Post: 3rd January 2007, 15:40
  2. How to get size (length, width ....) of string or char
    By Krishnacins in forum Qt Programming
    Replies: 1
    Last Post: 20th March 2006, 10:55


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.