OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

> Detecting screen resolution, Making apps work on 5xxx and 7/8xx
vanstrien
post Sep 19 2004, 12:37 AM
Post #1





Group: Members
Posts: 58
Joined: 22-August 03
From: Houston / London
Member No.: 374



I'm writing a qtopia app which I would like to have a different graphical template depending on if it is running on my 5500 or 860. Since I'm using images I will need to scale the images up by a factor if they are on the 860.

Anyone know the options for detecting the resolution (so I can then set a scale factor) from qpeapplication?

I have looked at doing it from my main qwidget (with width() and height()) but I tend to not get the right info at the beginning of the app anyway.

I would also like to use a different layout if it is landscape versus portrait. For this I will probably just compare the width and height. If anyone has other suggestions please let me know.
Go to the top of the page
 
+Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 29th August 2014 - 04:26 PM