>
> I have python embedded in my app, and I wish to use my application's
> window as the parent for some dialogs created (and coded) in python
> land. Is there a way to get the main widget in C++ to be the parent of
> Python?
>
>
>
> I need my python dialogs to:
>
> 1) Be modal w.r.t my app window,
>
> 2) Not show up in the task bar.
>
>
>
> I think setting the parent to my C++ window will fix these. Also if I
> can work around it, and disable the task bar entry and make the dialog
> always-on-top, that should work too, but won't be as elegant.
>
>
>
> As of right now, the from qt import * line makes a qApp of its own, in
> addition to my C++ qApp.

Why do you say that? The import creates a Python object that wraps the C++
qApp pointer. It doesn't create anything at the C++ level.

Phil

_______________________________________________
PyKDE mailing list    [EMAIL PROTECTED]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Reply via email to