PDA

View Full Version : orientation problem on Qt 4.7?



chandantheracer
28th March 2011, 07:14
I m using Qt 4.7 on symbian^3, i had defined resizeEvent in my mainwindow which displays a image, when i change the orientation of my device resizeEvent definition is not been executed. any help will be appreciated.

nish
28th March 2011, 08:06
after orientation change does your mainwindow changes its size?

chandantheracer
28th March 2011, 09:14
after orientation mainwindow doesn't changes its size.

wysota
28th March 2011, 11:32
Maybe you need to set some flag that you want to receive orientation changes? That's how it works on Maemo, maybe it's similar on S^3.

nish
28th March 2011, 12:48
after orientation mainwindow doesn't changes its size.
thats why you dont recieve the resize event. As wysota suggested, you need to listen to some orientation change notification.