PDA

View Full Version : Qt Sheet Dialog looses its parent on Hide and Reshown Application



santosh.kumar
9th March 2015, 04:43
Hi

I am using Qt 4.6.4 on MacOSX.

I have attached three screenshot of on example provided by Qt. The same look Qt Sheet dialog is using in our application.
Kindly look attached screenshot. When application show Qt Sheet Dialog, when I hide application using MenuBar provided in MacOSX.
It just disappear and looses its parent Window. The same problem is happening in my application, after hiding and reshown Application Qt Sheet dialog become white and looses its parent.

Kindly tell me the solution for this.

Thanks
Santosh

d_stranz
9th March 2015, 22:00
The solution is for you to post the source code for a simple example that reproduces this behaviour. Without that, we have absolutely no idea what you might be doing wrong. Either post the code in a zip file, or post it inline using [CODE] tags.