Results 1 to 2 of 2

Thread: QEvent::ApplicationDeactivate

  1. #1
    Join Date
    Apr 2011
    Posts
    132
    Thanks
    14
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default QEvent::ApplicationDeactivate

    Hi

    How to deactivate the mainwindow ?

    I want to force mainwindow to get QEvent::ApplicationDeactivate state programatically. Hide() or close() does not set the app as deactivated.

  2. #2
    Join Date
    Feb 2011
    Posts
    354
    Thanks
    17
    Thanked 27 Times in 24 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Windows

    Default Re: QEvent::ApplicationDeactivate

    my guess is you should activate another window (probably from another application)

Similar Threads

  1. how to use qevent?
    By cic in forum Qt Programming
    Replies: 1
    Last Post: 9th December 2011, 09:30
  2. Replies: 0
    Last Post: 8th September 2011, 12:16
  3. How do I use QEvent?
    By lni in forum Qt Programming
    Replies: 1
    Last Post: 2nd September 2011, 10:37
  4. QEvent problem
    By batileon in forum Qt Programming
    Replies: 3
    Last Post: 4th May 2009, 12:23
  5. QEvent::Enter
    By incapacitant in forum Newbie
    Replies: 6
    Last Post: 22nd March 2006, 08:07

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.