So the safest way to do the cleaning is to: remove widgets from layout, then DELETE all created buttons with:
Qt Code:
delete(btn[x]); // btn is vector with pointersTo copy to clipboard, switch view to plain text mode
and at the end - i can safely clear vector, and then connections will be broken, and QSignalMapper will be 'clean'? Yes? And then I can create everything again?
thanks in advance
best regards
Tomasz
Bookmarks