Results 1 to 3 of 3

Thread: QMDIArea, addSubWindow steals the focus from other applications

  1. #1

    Default QMDIArea, addSubWindow steals the focus from other applications

    Hi,
    I am using QT Version 4.6.3.
    I am creating new QMdiSubWindow and adding them to QMdiArea using the method addSubWindow. The method steals the focus from the other applications.
    My application has TCL interface and the sub windows will be called accordingly. So if i start to work on some other application as emacs (or any other), once the addSubWindow method is called it steals the Focus from the current working application and gives it to the new sub window created.
    I tried setFocusPolicy(Qt::NoFocus) and setAttribute(Qt::WA_ShowWithoutActivating) on the new QMdiSubWindow created but it did not help.

    Please send across how i can stop my QT application from stealing the focus.

    Thanks & regards,
    Subagha

  2. #2

    Default Re: QMDIArea, addSubWindow steals the focus from other applications

    Can anybody please help me solve this problem

  3. #3

    Default Re: QMDIArea, addSubWindow steals the focus from other applications

    Hi,
    Please send across if anybody knows the solution to this issue.
    I have been facing this issue from quite some time now.

    regards

Similar Threads

  1. Replies: 2
    Last Post: 13th May 2010, 17:46
  2. QwtPlot3d and QMdiArea
    By YaK in forum Qwt
    Replies: 0
    Last Post: 17th March 2010, 04:53
  3. QMdiArea
    By Programm3r in forum Qt Programming
    Replies: 0
    Last Post: 4th May 2009, 14:25
  4. showMinimized() steals the focus
    By The Storm in forum Qt Programming
    Replies: 2
    Last Post: 23rd January 2009, 07:11
  5. Focus issues / Setting multiple focus
    By ComputerPhreak in forum Qt Programming
    Replies: 1
    Last Post: 16th February 2007, 06:09

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.