On 10/10/2016 07:32 AM, Veek M wrote:
> Whaaa...t?? Could someone explain what exactly is his grand design
> besides being awfully circuitous? So he has some other Form thingy.. and
> in that he sets up another mapping from ZeroSpinBox.atzero -->
> ZeroSpinBox.announce where's announce and
Mark Summerfield wrote:
>
> The ZeroSpinBox is a tiny example designed to show how the signal/slot
> mechanism works. It is just a QSpinBox with the addition of
> remembering how many times (all the) ZeroSpinBox(es) have had a 0
> value.
>
> Nowadays the connections would be made with a new impr
The ZeroSpinBox is a tiny example designed to show how the signal/slot
mechanism works. It is just a QSpinBox with the addition of remembering
how many times (all the) ZeroSpinBox(es) have had a 0 value.
Nowadays the connections would be made with a new improved syntax:
self.connect(self, SIGNAL
I'm reading Rapid GUI Programming - Mark Summerfield with Python and QT
pg 131. Basically the mechanism is an event table which maps a 'signal'
to a 'function/slot' -correct?
self.connect(dial, SIGNAL("valueChanged(int)"), spinbox.setValue)
Here, dial.valueChanged -> spinbox.setValue
s.conn