[Qt-interest] Running multiple QApplications

Nitin Mahajan nitinm76 at yahoo.com
Wed Oct 28 05:46:41 CET 2009


Hello,



----- Original Message ----
> From: Ender EREL <erelender at yahoo.com>
> To: qt-interest at trolltech.com
> 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?

> 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.

regards

-Nitin
> 
> -- 
> Ender EREL
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest



      New Email addresses available on Yahoo!
Get the Email name you&#39;ve always wanted on the new @ymail and @rocketmail. 
Hurry before someone else does!
http://mail.promotions.yahoo.com/newdomains/aa/




More information about the Qt-interest-old mailing list