Hi Patryk,

button->hide();
button->disconnect();

Bo.

Den 10-10-2012 17:05, Patryk Ma?ek skrev:
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



_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


--
Bo Thorsen.
Fionia Software - Qt experts for hire.

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to