Proper removal of objects in a GUI



  • When removing for instance button in the GUI possible slots that I manually added to this button still remains.

    Thats a good thing I guess, as automatic deletion of code could cause problems. However, if knowing that it's safe to delete all code associated with eg. a button, is there an option that automatically could delete everything directly associated with this button?

    Now I manually delete associated slots and declarations.



  • I'd rather not have an IDE guess for me what part of my code is "safe to delete" and what isn't. (With intelligent heuristic algorithms, I suspect some people could lose their entire codebase this way...)

    So no, luckily, there is no such feature in QtCreator.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.