PDA

View Full Version : QX11EmbedContainer into QMdiArea



peppino
25th September 2008, 17:12
Hi,

I've try to add a QX11EmbedContainer into a QMdiArea:
......
QMdiArea *area = new QMdiArea();
QX11EmbedContainer *container = new QX11EmbedContainer();
container->embedClient(123456789);
area->addSubWindow(container);
......

but the SubWindow doesn't show the Client (embedded)....

If i omit the "area->addSubWindow(container)", the Client is show but not as a subwindow of the QMdiArea.

The QX11EmbedContainer is a QWidget class ........

Please, any suggestion ???

Thanks a lot.