Results 1 to 2 of 2

Thread: String length to pixel transform...how???

  1. #1
    Join Date
    Aug 2008
    Posts
    1

    Default String length to pixel transform...how???

    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.
    Sasha

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,364
    Thanks
    3
    Thanked 5,014 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: String length to pixel transform...how???


  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, 14: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, 09:55

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.