[Qt-creator] What is the correct way of removing UI elements with code ?

Patryk Małek malekpatryk at gmail.com
Wed Oct 10 16:51:07 CEST 2012


Hello,

I have just encountered a problem, where I do not need a certain UI element
e.g. *QPushButton* and I would like to remove it but since I have connected
it with several slots (e.g. *clicked(), released()* etc. ) I now have
several references of this button in my code.

How can I remove all of this efficiently ? Do I have to remove it all
manually ?



kind regards,
Patryk Małek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20121010/90ed060f/attachment.html>


More information about the Qt-creator mailing list