C++ – How to create a custom slot in qt4 designer

cqtqt-creatorqt-designerqt4

Whenever I use the signal/slot editor dialog box, I have to choose from the existing list of slots. So the question is how do I create a custom named slot?

Best Answer

right click on the main window and select "change signals and slots" and add a new slot. It will appear in your signal slot editor.