[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] Problem with QTest
From:       Antonio Valentino <antonio.valentino () tiscali ! it>
Date:       2014-12-31 12:54:46
Message-ID: 54A3F216.8040601 () tiscali ! it
[Download RAW message or body]

Hi lloyd,

Il 31/12/2014 13:32, lloyd konneker ha scritto:
> A guess: QSpinBox inherits a signal editingFinished, which is not emitted until \
> focus changes, say if the user keys the ‘enter' key.  So the valueChanged signal \
> is not emitted until then.  Maybe value() reports the old value until then also?  \
> But then, if you comment out your line, why does it work? 
> Have you tried:  keyClicks(…,  '34\n' )  with a newline?

Actually I tried with keyClicks(…, QtCore.Qt.Key_Enter) but with no luck.
I also tried to file editingFinished directly ... same result.

Thanks anyway for your hint


cheers

-- 
Antonio Valentino
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic