Discussion Board

Results 1 to 1 of 1
  1. #1
    Registered User
    Join Date
    Jan 2011

    Question about DPI in DisplayInfo component

    I am trying to convert pixel sizes to physical sizes using QtMobility.systeminfo version 1.2. Assuming DPI really means PPI, this may be done using DisplayInfo.dpiHeight and DisplayInfo.dpiWidth but I cant get it to work.

    On N950, both are 96 DPI. This would mean that the N950 screen is 9x5 inches large (i.e. 854 / 96 x 480 / 96) which is obviously wrong. So my question is: am I interpreting the whole DPI thing incorrectly or have I encountered a bug in QtMobility.systeminfo?

    Thank you in advance, Tubeman
    (which is by the way not about drugs, but a combination of Caveman and tube [i.e. the Internet] )
    Last edited by tube42; 2012-01-15 at 11:30.

Similar Threads

  1. How to use ui component ?
    By Niamita in forum [Archived] Beginning Qt
    Replies: 4
    Last Post: 2011-04-26, 19:53
  2. Qml component
    By jamesjara2 in forum [Archived] Qt Quick
    Replies: 1
    Last Post: 2011-04-05, 06:19
  3. Add Component GUI
    By earendil in forum Symbian
    Replies: 2
    Last Post: 2007-03-21, 05:18
  4. List component icons question
    By Marxy in forum Mobile Java General
    Replies: 4
    Last Post: 2007-03-01, 11:12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts