Multiple applications in same window
Hi,
I want to have Multiple application in the same window
1.Radio
2.Media Player
3.Terminal Mode
By clicking buttons(or any thing else like tab ) it should launch the application on the main window.
How it can be achieved.
I have designed the above 3 application separately.
Now I want to have one integrated app.
Regards
Hitesh Sharma
Re: Multiple applications in same window
Which platform are we talking about?
Re: Multiple applications in same window
Re: Multiple applications in same window
Re: Multiple applications in same window
Hi,
Is there any sample code available for XEmbed
Added after 1 12 minutes:
In XEmbed how will we get the WinID dynamically every time?
Re: Multiple applications in same window
Quote:
I have designed the above 3 application separately.
Now I want to have one integrated app.
If you have written the three sub-programs yourself then it seems to be a reasonably trivial exercise to produce a library version of each and build the combined application from those.
Re: Multiple applications in same window
Point is not about building a combined application but building a single UI for all the three different applications....how can i combine the three application UI into a single UI
Re: Multiple applications in same window
Quote:
Originally Posted by
hitesh_sharma@satyam
Hi,
Is there any sample code available for XEmbed
I'm sure there is.
Quote:
In XEmbed how will we get the WinID dynamically every time?
We will call QWidget::winId().
Re: Multiple applications in same window
Project source code is available at
http://www.2shared.com/file/sxDtXzjC/Tabs.html
I am trying to add media player based on mplayer inti the TAB.
and working code of the player is at http://www.2shared.com/file/d0Pg4m2n/qmpdemo.html
Re: Multiple applications in same window
Re: Multiple applications in same window
Player is working fine as an independent project.
I am not able to add it into the TAB
Re: Multiple applications in same window
Quote:
Originally Posted by
hitesh_sharma@satyam
Point is not about building a combined application but building a single UI for all the three different applications....how can i combine the three application UI into a single UI
I fail to see the difference except in terms of complexity, portability and fragility. Since you have the source of the three applications there is more than one option, but you seem fixated on one way to do it.
Here is another option. Split each of the three applications into two parts:
- A dynamically loadable library containing the application logic and the application's main window class.
- A trivial shell application, linked to the library above, that creates an instance of the main window class and shows it.
You still have three separate runnable programs with the same functionality, but you have bought some capability.
Then your combined application becomes a simple shell that is linked to all three application libraries, instantiates the main widget of each, and puts them into a layout in its own main window. You might have to deal with a few name collisions with name spaces.
There are some limitations of this approach but I'm not convinced they are bigger than the XEmbed ones.
Re: Multiple applications in same window
Resolved
I am using Stack Layout now.