I have a connection in a QSpinBox, but I need differentiate who emitted the signal, user or code, how can I do it??

The signal is valueChanged.