Qt Designer: How to remove slot from designer ?
To remove slot from designer:
By removing the declaration of <class_name>::on_pushButton_clicked() from header file.
The alternative answer is:
To press View->Signal/Slot editor and the new window will be display and remove the slots by acute the minus button.