Results 1 to 2 of 2

Thread: Show dialog in screen center

  1. #1
    Join Date
    Mar 2008
    Posts
    55
    Thanks
    2
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Show dialog in screen center

    Hello everybody, in my Qt 4.3 application developped on Windows, I've a function that call a process and a tryicon is added in Windows StatusBar. When I click the the notification I call the show() method which show a dialog. The problem that the dialog is showen in the top right of the screen (its default position) and I want to show in the center screen. Can anyone tell me how to do and what I must to add to do this.
    Many thanks and best regards.

  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: Show dialog in screen center

    Please search the forums before starting new threads.
    J-P Nurmi

Similar Threads

  1. how to show Dialog as drawer on the bottom of the parent screen?
    By vishal.chauhan in forum Qt Programming
    Replies: 1
    Last Post: 7th March 2008, 08:00
  2. Replies: 2
    Last Post: 4th February 2008, 11:00
  3. Show dialog in the task bar
    By bruccutler in forum Newbie
    Replies: 4
    Last Post: 23rd May 2007, 22:52
  4. Dialog sizes and different screen resolutions.
    By hvengel in forum Qt Tools
    Replies: 3
    Last Post: 2nd April 2006, 10:05

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.