Misko
16th August 2007, 11:34
Hi,
I want to connect multiple sliders to drawing different things.
Since I can only have 1 paintEvent-function, i'll have to do something with the event-pointer, i guess, like in:
void SomeClass::paintEvent(QPaintEvent *e)
and then like in Java using something like: if (e.getSource() == sldValue1) ...
But I don't know the QT-equivalence...:o
If you know a different way to do this, also welcome to mention...
Thx in Advance!
Misko
I want to connect multiple sliders to drawing different things.
Since I can only have 1 paintEvent-function, i'll have to do something with the event-pointer, i guess, like in:
void SomeClass::paintEvent(QPaintEvent *e)
and then like in Java using something like: if (e.getSource() == sldValue1) ...
But I don't know the QT-equivalence...:o
If you know a different way to do this, also welcome to mention...
Thx in Advance!
Misko