Hi,
I am trying to get resize event of screen using QDesktopWidget::resized() signals, but not able to get events. Then how can i get notification when screen size is changed?
I am using Qt for S60, 4.5 garden release.
Thanks,
kamlesh
Hi,
I am trying to get resize event of screen using QDesktopWidget::resized() signals, but not able to get events. Then how can i get notification when screen size is changed?
I am using Qt for S60, 4.5 garden release.
Thanks,
kamlesh
Can we see your code? Note that S60 support is still in beta, not everything might work.
Last edited by nish; 7th June 2009 at 10:50.
Thanks to all for taking interest in my thread.
Basically screen size will be changed when user change mode from portrait to landscape or vice-versa. For example, Nokia N95 has resolution 240x320 in portrait mode but if user change it to landscape mode than resolution will be 320x240.
I resolved that issue. Actually QWidget::resizeEvent() is get called on mode change. Now its working fine for me.Originally Posted by wysota
Again thanks to all.
kamlesh
abk883 (9th March 2010)
Hey Kamlesh.. i am facing some problem regarding use of resizeevent()
could you put in some sample code which you use to resize on receiving this event
Qt Code:
{ //Add your code here }To copy to clipboard, switch view to plain text mode
Thanks Kevin
i was also using the same way as you mentioned ..but when I debug ...no event gets generated on changing Portrait to Landscape mode ....
Do we also need to set this Resize Event on some widget .....
Bookmarks