Hi Florian,
the first idea that pops into my head is to
* subclass QComboBox and to
* overwrite protected void focusInEvent(QFocusEvent
<file:///D:/java/qt/qtjambi-win32-gpl-4.4.0_01/doc/html/com/trolltech/qt/gui/QFocusEvent.html>
arg__1)
into something like
protected void focusInEvent(QFocusEvent
<file:///D:/java/qt/qtjambi-win32-gpl-4.4.0_01/doc/html/com/trolltech/qt/gui/QFocusEvent.html>
arg__1){
mySignal.emit(...);
super.focusInEvent(QFocusEvent
<file:///D:/java/qt/qtjambi-win32-gpl-4.4.0_01/doc/html/com/trolltech/qt/gui/QFocusEvent.html>
arg__1);
}
That should do. Cheers,
Curt
________________________________
Von: [EMAIL PROTECTED] im Auftrag von Florian Hübner
Gesendet: Di 19.08.2008 12:25
An: [email protected]
Betreff: [Qt-jambi-interest] QComboBox + signals
Hi everyone,
I try to send a signal whenever a QComboBox receives focus but I
couldn't find out how to do it. Anybody know an easy way for that?
best regards
Florian
_______________________________________________
Qt-jambi-interest mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest
_______________________________________________
Qt-jambi-interest mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest