How can I edit signals and slots in design mode?
I have a user interface where the user can input the number of people with spinbox and then write the name for all the people. I want to have it so that when the number of people is two, it will only show two line edits. So I connect the spinbox to a line edit and I see this:
How can I edit the int in the valueChanged? I assume I can edit it with the edit button, but it's greyed out as you can see. Does it have to done in the .cc file?
Afaik you will need to code to achieve this.
Have a look at "the Qsignalmapper docs":http://qt-project.org/doc/qt-5.0/qtcore/qsignalmapper.html#details
Hope this gives you a head start.