ashukla
16th October 2007, 06:45
Dear Everyone!
I am creating a dialog having a push button pbPlay. on pbPlay_clicked() event I am opening a independent widget indWidget having three child widget.
When I click over the indWidget close button the indWidget is not being closed. If I close the widget which is containing the pbPlay push button; this widget has been closed; but still now the indWidget is appeared. And now I click over the indWidget close button, It close the indWidget.
firstly I want to close the indWidget and then I wnat to return on a dialog which contains the pbPlay push button.
What can I do to solve my problem?
I don't want to create the indWidget as a child of dialog that contains the pbPlay push button like this;
QWidget *indWidget=new dlgMainPlayer(this,0);
b/z when I do this and close the indWidget the parent dlgMainPlayer is also closed. I still want to return on dlgMain Player Widget.
with regards!
I am creating a dialog having a push button pbPlay. on pbPlay_clicked() event I am opening a independent widget indWidget having three child widget.
When I click over the indWidget close button the indWidget is not being closed. If I close the widget which is containing the pbPlay push button; this widget has been closed; but still now the indWidget is appeared. And now I click over the indWidget close button, It close the indWidget.
firstly I want to close the indWidget and then I wnat to return on a dialog which contains the pbPlay push button.
What can I do to solve my problem?
I don't want to create the indWidget as a child of dialog that contains the pbPlay push button like this;
QWidget *indWidget=new dlgMainPlayer(this,0);
b/z when I do this and close the indWidget the parent dlgMainPlayer is also closed. I still want to return on dlgMain Player Widget.
with regards!