Results 1 to 4 of 4

Thread: Bring QDialog to front

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Apr 2008
    Posts
    73
    Thanks
    11
    Thanked 7 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Bring QDialog to front

    Dont know if it will make any difference, but I use:
    Qt Code:
    1. dialogue->show();
    2. dialogue->raise();
    3. dialogue->activateWindow();
    To copy to clipboard, switch view to plain text mode 

    You have got raise and activatewindow the other way round.

    Cheers,
    Phil Winder

  2. #2
    Join Date
    Apr 2008
    Location
    Pavlodar, Kazakhstan
    Posts
    22
    Thanks
    1
    Thanked 5 Times in 5 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Bring QDialog to front

    The result is the same. But anyway thanks for the suggestion!

  3. #3
    Join Date
    Apr 2008
    Location
    Pavlodar, Kazakhstan
    Posts
    22
    Thanks
    1
    Thanked 5 Times in 5 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Bring QDialog to front

    Hm! Compiled for Windows and everything there worked as it should. I guess the reason is inside GNOME

Similar Threads

  1. Resizing a QDialog to the content size
    By Nyphel in forum Qt Programming
    Replies: 8
    Last Post: 15th March 2007, 08:16
  2. How to bring a dialogbox to the front?
    By bood in forum Qt Programming
    Replies: 2
    Last Post: 2nd August 2006, 15:04

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
  •  
Qt is a trademark of The Qt Company.