Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How can I edit signals and slots in design mode?
buon43 last edited by
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?
Eddy last edited by
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.