This is a multi-part message in MIME format. --===============0904576367== content-class: urn:content-classes:message Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C4D6FF.3F688C3E" This is a multi-part message in MIME format. ------_=_NextPart_001_01C4D6FF.3F688C3E Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable 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? =0D I need my python dialogs to: 1) Be modal w.r.t my app window, 2) Not show up in the task bar. =0D 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. =0D As of right now, the from qt import * line makes a qApp of its own, in addition to my C++ qApp. =0D Thanks! =0D ___________________________________________________________________________= _______________ This electronic message may contain proprietary and confidential= information of Verint Systems Inc., its affiliates and/or subsidiaries. The information is intended to be for the use of the individual(s) or entity(ies) named above. If you are not the intended recipient (or= authorized to receive this e-mail for the intended recipient), you may not= use, copy, disclose or distribute to anyone this message or any= information contained in this message. If you have received this= electronic message in error, please notify us by replying to this e-mail.= (1) ------_=_NextPart_001_01C4D6FF.3F688C3E Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

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.

 

Thanks!

 

________________________________________________________________= __________________________
This electronic message may contain proprietary and confidential= information of Verint Systems Inc., its affiliates and/or= subsidiaries.
The information is intended to be for the use of the individual(s) or
entity(ies) named above. If you are not the intended recipient (or= authorized to receive this e-mail for the intended recipient), you may not= use, copy, disclose or distribute to anyone this message or any= information contained in this message. If you have received this= electronic message in error, please notify us by replying to this e-mail.= (1)
------_=_NextPart_001_01C4D6FF.3F688C3E-- --===============0904576367== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ PyKDE mailing list PyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/listinfo/pykde --===============0904576367==--