View Full Version : QCanvas in widget
prasenjit
18th November 2009, 09:45
Hi,
I am new in Qt. I have two questios.
Q1. Is there any way by which I can embed a Canvas into my MainWindow?
Q2. Can any external window (like x0 window) be embedded into a widget?
I am using Fedora10 and Qt4.
Thanks in advance.
axeljaeger
18th November 2009, 16:46
1) What is a "canvas"?
2) If you are speaking of native windows, there are several add-ons to Qt, the so called "Qt solutions" that are offering mixing of native Windows or X11 applications. The mac port of Qt contains a QCocoaWidget to mix native widgets there.
For both question, I can provide more comprehensive answers if you provide more precise what you want to do.
prasenjit
19th November 2009, 09:11
Hi,
Thanks for response and sorry for the confusion...
Actually I am creating a application in which I have to use GRASS 6.2 (GIS open source application) . For that I require to show the x terminal (created by grass (command : d.mon) to embed in my widget. That widget can not be a separate one as I have menu and all other controls there in the widget. I have tried with QX11EmbedContainer class but unable to embed the x terminal (but exterm is working).
I hope I am clear this time. Please help.
Prasenjit.
axeljaeger
19th November 2009, 09:22
So you want to start two processes but have to them is one window?
prasenjit
20th November 2009, 07:02
Yes, but out of two process one is of Qt and another is non-Qt (grass6.2).
thanks.
prasenjit
8th December 2009, 10:30
Hi All,
I am still waiting for any help.... :crying:
axeljaeger
8th December 2009, 10:42
This is nothing for a beginner. If you are realy a beginner, start with something easier.
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.