Qt Designer: How to remove slot from designer ?

Qt Designer: How to remove slot from designer ?

Asked on January 11, 2019 in Qt.
Add Comment


  • 2 Answer(s)

    To remove slot from designer:

           By removing the declaration of <class_name>::on_pushButton_clicked() from header file.

    Answered on January 11, 2019.
    Add Comment

    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.

    Answered on January 11, 2019.
    Add Comment


  • Your Answer

    By posting your answer, you agree to the privacy policy and terms of service.