Results 1 to 3 of 3

Thread: Setting positions of Messgae boxes

  1. #1
    Join Date
    Apr 2006
    Posts
    28
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Setting positions of Messgae boxes

    (1) How to set the position of message boxes on the screen. ?
    By default on windows, message boxes are getting displayed in the centre, but on linux, they are getting displayed on random locations(mostly at the corners of the window).

    (2) Also how to make QMessageBox modal.
    On windows, they are modal by defaylt but not on linux machine thru one login they are modal & thru other login they are non-modal.

    Thanks

  2. #2
    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: Setting positions of Messgae boxes

    How do you show the message box? Did you pass a parent?
    J-P Nurmi

  3. The following user says thank you to jpn for this useful post:

    jyoti kumar (20th June 2007)

  4. #3
    Join Date
    Apr 2006
    Posts
    28
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Setting positions of Messgae boxes

    yes i tried setting the parent, now its working fine. Thanks

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.