[PyQt] QSpinBox and setLineEdit
    Matt Smith 
    melkor at orangepalantir.org
       
    Fri Jan 30 13:07:10 GMT 2009
    
    
  
> 
> Well, OK. My problem is that I would like to connect up to the
> textChanged(const QString &) signal emitted by the spinbox's lineedit.
> This
> signal, however, is only emitted when the edit is modified directly, not
> when it changes indirectly eg. by pressing the up/down arrows on the
> spinbox. Any suggestions for a solution?
> 
> Mads
> 
QLine claims that the textChanged is emitted even when the text is
changed programmatically.  Have you tried connecting to it?.
http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/qlineedit.html#textChanged
Your previous example did not involve connecting to the line edit.
mbs
    
    
More information about the PyQt
mailing list