Good mornig,
i've a widget with a button that opens another widget:
when i click to the button i set the property Childwidget->show() and all works well; (the child widget is shown)
when i click the button again (it is a qpushbutton checkable) i want the widget to be hidden so i set Childwidget->hide() but the widget doesent disappear...
Whith the debug i see the code is executed correctly...
Qt Code:
if(mybutton->isChecked()) { ChildWidget->show(); } else { ChildWidget->close(); /// i try also ChildWidget->Hide() }To copy to clipboard, switch view to plain text mode
but the widget using hide or close doesent disappear..at all...
What is the problem ?
Thanks !!!
Bookmarks