[Qt-interest] managing client windows in embedded Qt

Jeroen De Wachter jeroen.dewachter at barco.com
Tue Mar 23 10:05:05 CET 2010


Hi,

We're doing something similar. We have a statusbar at the top of our 
screen and another bar at the bottom.

We do this using one process though.
The server application just shows the GUI and that's that. Extra windows 
(just widgets without a parent) may appear, but they are always created 
in the same process.

You could try creating a class based on QDesktopWidget though and see if 
that fits your needs.

Kind regards,

Jeroen

linux newbie wrote:
> Hi,
>  
> I am running Qt 4.6.2 for embedded devices.
>  
> I have 3 seperate Qt client applications running on my system. On 
> pressing certain key combination, I need to bring these individual 
> client windows on top of the screen.
> *For this I did the following:*
> * In my server application, I am catching the windowEvent. So when the 
> client applications are created, the server receives the QWSWindow 
> object and I add this to list. Also this client application is set to 
> "hide"
> * EventFilter is installed in server application, so on certain key 
> combinations, desired client window is brought on top of screen( using 
> "show").
>  
> The above mentioned steps are working. Please let me know if this is 
> proper way to do this.
>  
> Now, I want to set the geomentry of client window from my server 
> application. The reason is that I want to run title bar (docked widget 
> with battery/network status) on the server application, and individual 
> client windows occupy the remaining screen space. Any suggestions please.
>  
> Thanks
> ------------------------------------------------------------------------
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>   





More information about the Qt-interest-old mailing list