Hi
I'm trying to delete a widget or several widgets content in a QBoxLayout. How can I do this?
This is my code:
Qt Code:
void CustomRadioButton::deleteOption(int pos) { if(pos >= 0 && pos < getLayout()->count()) { delete getLayout()->takeAt(pos); update(); } }To copy to clipboard, switch view to plain text mode
I think I managed to delete the widget, but the layout do not updated visually. Any idea??
Thanks in advanced and excuse my English.
Bookmarks