<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On 30 June 2014 16:50, Vincent Vande Vyvre <span dir="ltr"><<a href="mailto:vincent.vandevyvre@swing.be" target="_blank">vincent.vandevyvre@swing.be</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Le 30/06/2014 17:22, Chris Wood a écrit :<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
The documentation for the valueChanged signal says that<br>
<br>
`This signal is emitted whenever the spin box's value is changed. The new value's integer value is passed in i.`<br>
<br>
as opposed to editingFinished, which is only emitted when focus is lost. Â However, I've found that if you type a value into a QSpinBox, then the signal is only emitted when focus is lost. Â This contrasts to QLineEdit where textChanged (and textEdited) are emitted when the text is changed and the focus is still the QLineEdit.<br>
<br>
Is there a way to get round this when using a QSpinBox, so that a signal is emitted when text is typed into the widget without having to lose focus?<br>
<br>
Thanks,<br>
Chris<br>
<br>
<br>
______________________________<u></u>_________________<br>
PyQt mailing list   <a href="mailto:PyQt@riverbankcomputing.com" target="_blank">PyQt@riverbankcomputing.com</a><br>
<a href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt" target="_blank">http://www.riverbankcomputing.<u></u>com/mailman/listinfo/pyqt</a><br>
</blockquote>
The doc says right, probably a problem in your code.</blockquote><div><br></div><div>I'm not saying the docs are wrong (but perhaps they are little bit ambiguous), I just wanted to know if there's a way to achieve what I want :) Â </div>
<div>Â <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="HOEnZb"><font color="#888888">
-- <br>
Vincent V.V.<br>
Oqapy <<a href="https://launchpad.net/oqapy" target="_blank">https://launchpad.net/oqapy</a>> . Qarte <<a href="https://launchpad.net/qarte" target="_blank">https://launchpad.net/qarte</a>> . PaQager <<a href="https://launchpad.net/paqager" target="_blank">https://launchpad.net/paqager</a><u></u>><br>
______________________________<u></u>_________________<br>
PyQt mailing list   <a href="mailto:PyQt@riverbankcomputing.com" target="_blank">PyQt@riverbankcomputing.com</a><br>
<a href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt" target="_blank">http://www.riverbankcomputing.<u></u>com/mailman/listinfo/pyqt</a></font></span></blockquote></div><br></div></div>