Results 1 to 5 of 5

Thread: orientation problem on Qt 4.7?

  1. #1
    Join Date
    Feb 2011
    Location
    udaipur,Rajasthan
    Posts
    27
    Qt products
    Qt3 Qt4
    Platforms
    Windows Symbian S60

    Question orientation problem on Qt 4.7?

    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.

  2. #2
    Join Date
    Jun 2007
    Location
    India
    Posts
    1,042
    Thanks
    8
    Thanked 133 Times in 128 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: orientation problem on Qt 4.7?

    after orientation change does your mainwindow changes its size?

  3. #3
    Join Date
    Feb 2011
    Location
    udaipur,Rajasthan
    Posts
    27
    Qt products
    Qt3 Qt4
    Platforms
    Windows Symbian S60

    Default Re: orientation problem on Qt 4.7?

    after orientation mainwindow doesn't changes its size.
    Last edited by chandantheracer; 28th March 2011 at 11:07.

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: orientation problem on Qt 4.7?

    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.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  5. #5
    Join Date
    Jun 2007
    Location
    India
    Posts
    1,042
    Thanks
    8
    Thanked 133 Times in 128 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: orientation problem on Qt 4.7?

    Quote Originally Posted by chandantheracer View Post
    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.

Similar Threads

  1. Orientation Problem
    By prajnaranjan.das in forum Qt Programming
    Replies: 6
    Last Post: 8th February 2011, 14:20
  2. QLabel orientation
    By smacchia in forum Qt Programming
    Replies: 1
    Last Post: 18th November 2010, 15:56
  3. Screen orientation
    By Tomasz in forum Qt for Embedded and Mobile
    Replies: 6
    Last Post: 31st August 2010, 09:47
  4. QWidget orientation
    By Valheru in forum Qt Programming
    Replies: 8
    Last Post: 19th August 2008, 17:20
  5. Vertical Orientation of Text.
    By ashukla in forum Qt Programming
    Replies: 9
    Last Post: 28th January 2008, 12:40

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.