Use setFocusPolicy to set the property to Qt::NoFocus in the code, or set NoFocus directly on the QSpinBox property in the layout file.
Qt articles - Qt setting QSpinBox cannot input values from the keyboard
Guess you like
Origin blog.csdn.net/u011391361/article/details/128804613
Recommended
Ranking