----- Original Message ----
> From: Ender EREL <erelender@xxxxxxxxx>
> To: qt-interest@xxxxxxxxxxxxx
> Sent: Wednesday, October 28, 2009 13:00:13
> Subject: Re: [Qt-interest] Running multiple QApplications
> Nitin Mahajan wrote:
> > Hello,
> > ----- Original Message ----
> >> From: Ender EREL
> >> To: qt-interest@xxxxxxxxxxxxx
> >> Sent: Tuesday, October 27, 2009 17:13:00
> >> Subject: Re: [Qt-interest] Running multiple QApplications
> >> Colin S. Miller wrote:
> >>> Nitin Mahajan wrote:
> >>>> Hello,
> >>>> I want to run two QApplications simultaneously on Qt for embedded
> >>>> Linux using frame buffer.
> >>>> I always want to keep one of the application windows in foreground,
> >>>> even if I click into the other window.
> >>>> Can I get some pointers towards this?
> >>>> Thanks in advance
> >>> Nitin,
> >>> Do you want
> >>> 1) the first application window to be always-on-top,
> >>> allowing the user to interact with the other window, but
> >>> the second window is (partially) covered by the first
> > This is what I want.
> >>> or
> >>> 2) When the user clicks on the second window, the
> >>> focus is automatically moved back to the first window?
> >>> Colin S. Miller
> >> Or, Do you want
> >> 1 ) Two seperate QApplications ( two event loops etc.)
> > Can you provide some pointers to some documentation to read more about this
> scenario and it's effects?
> No i can't :) I haven't tried anything like this before, so i don't know
> what the effects would be.
> >> 2 ) Two seperate QMainWindows ( one QApplication, two toplevel windows)?
> > One QApplication, two top level windows. Both of them stay on screen for a
> significant amount
> > of time. What I mean to say that the second window is not as short lived as
> > a
> Dialog window. By
> > looks it's almost another application.
> You can have as much top-level windows as you want. It doesn't matter if
> they are QMainWindows or QWidgets. One option for making one window stay
> in the foreground is setting its Qt::WindowStaysOnTopHint window flag.
> But that will make it stay on top of all windows (not application-wise,
> system-wise). I don't know if there exists an option for application-wise.
> Best Regards
1. Can Multiple QApps have keyboard focus at the same time?
2. Can the QApp in background have keyboard focus?
> Ender EREL
> > regards
> > -Nitin
> >> --
> >> Ender EREL
> >> _______________________________________________
> >> Qt-interest mailing list
> >> Qt-interest@xxxxxxxxxxxxx
> >> http://lists.trolltech.com/mailman/listinfo/qt-interest
> > New Email addresses available on Yahoo!
> > Get the Email name you've always wanted on the new @ymail and @rocketmail.
> > Hurry before someone else does!
> > http://mail.promotions.yahoo.com/newdomains/aa/
> Qt-interest mailing list
Get your preferred Email name!
Now you can @ymail.com and @rocketmail.com.
Qt-interest mailing list