Results 1 to 8 of 8

Thread: application get disturbed by changing screen resolution

  1. #1
    Join Date
    Sep 2008
    Posts
    84
    Thanks
    28
    Thanked 1 Time in 1 Post
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Question application get disturbed by changing screen resolution

    I have created application in QT.I'm working in Windows.
    I have created GUI using designer. I have created .Ui file.
    While creating application and using designer my screen resolution was 1024x768

    After finishing the application it is running well in this screen resolution.
    When i change the screen resolution i.e 800x600 the application gets disturbed.

    Why this happen??
    Help

    Thanks in advanced

  2. #2
    Join Date
    Jan 2006
    Posts
    667
    Thanks
    10
    Thanked 80 Times in 74 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: application get disturbed by changing screen resolution

    What do you mean by disturbed? Can you explain this in more detail ?

  3. #3
    Join Date
    Sep 2008
    Posts
    84
    Thanks
    28
    Thanked 1 Time in 1 Post
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: application get disturbed by changing screen resolution

    thanks for reply.

    When i changes the resolution the main screen get overlapped & i get 2 main screens, but neither the 2 are fully visible.

  4. #4
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: application get disturbed by changing screen resolution

    A screenshot?
    J-P Nurmi

  5. #5
    Join Date
    Sep 2008
    Posts
    84
    Thanks
    28
    Thanked 1 Time in 1 Post
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: application get disturbed by changing screen resolution

    here is the screenshot when screen resolution changed from 1024x768 to 800x600

    1024x768 screen resolution.GIF

    800x600 screen resolution.GIF

  6. #6
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: application get disturbed by changing screen resolution

    What have you tried to do to investigate the issue? Does the window resize correctly? Does it receive a paint event? Are you sure you don't have multiple windows there?
    J-P Nurmi

  7. #7
    Join Date
    Sep 2008
    Posts
    84
    Thanks
    28
    Thanked 1 Time in 1 Post
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: application get disturbed by changing screen resolution

    hii

    thanks for replying
    here are the answers:

    1. I am not able to find the reason why this problem is occuring.

    2. Yes,window resixze coprrectly.

    3. It doesn't recieve paint event.

    4.I'm sure i don't have multiple windows there.

  8. #8
    Join Date
    Oct 2006
    Location
    New Delhi, India
    Posts
    2,467
    Thanks
    8
    Thanked 334 Times in 317 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: application get disturbed by changing screen resolution

    are ur widgets parented properly, and are they properly set in layout ??

Similar Threads

  1. Screen Resolution stting takes effect on application !
    By santhoshv84 in forum Qt Programming
    Replies: 1
    Last Post: 30th August 2008, 13:06
  2. Screen resolution
    By sabeesh in forum Qt Programming
    Replies: 4
    Last Post: 7th September 2007, 17:00
  3. Replies: 3
    Last Post: 8th December 2006, 18:51

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.