Meysam Meysam - 1 year ago 182
C++ Question

Qt Designer: How to remove slot from designer?

Adding slot for a signal of a widget is easy: right click on it and select "go to slot". But how can I remove the slot created for a button (like

) from the Qt designer.

Answer Source

You have to remove the declaration of <class_name>::on_pushButton_clicked() from header file.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download