hello,
How I can get the device screen size (his diagonal: for example 2.4 in, or his widht an height in cm or in) using Qt/Qt Mobility or Symbian C++?
Thanks
hello,
How I can get the device screen size (his diagonal: for example 2.4 in, or his widht an height in cm or in) using Qt/Qt Mobility or Symbian C++?
Thanks
Check with QWidget; QMainWindow is drive from QWidget and QWidget contains function related to size of widget.
Use Qt-Quick to make your application UI more attractive.
http://store.ovi.com/content/271896 | http://store.ovi.com/content/276199 | http://store.ovi.com/content/276202 | http://store.ovi.com/content/280827
Nothing reliable. Since often the same software load is run on devices with different sized screens even when there's a screen size function (as there is, I believe, on Android) it's apt to be wrong.
Use this link
http://wiki.forum.nokia.com/index.ph...Qt_for_Symbian
But it will provide size in pixels not mm.
I need the screen size in cm or inch for my application and not the number of pixels, there is a way to know the diagonal size or the width and height of the screen (cm or inch) using Qt/Qt Mobility or Symbian C++?
You can guess, given the number of pixels and industry averages for pixel pitch. Or you can query the device model and have your own DB of screen dimensions. Or have the user input screen size.
Duplicate thread here: http://discussion.forum.nokia.com/fo...11-screen-size