[Qt-interest] signaling to a different QDialog ?
mpv
nospam at forget.it
Tue Dec 2 16:54:48 CET 2008
Hi,
I am relatively new to QT and I am using it for a data acquisition project.
My device sends a Windows message when new data is available, and I hook
this message with QApplication::winEventFilter.
I would like to signal this back to the dialog in the program that started
the measurement with QT's signal/slot mechanism, but I am having trouble
getting this to work.
All examples of the connect() call that I have seen handle objects that are
part of the same QDialog.
Is there an example of e.g. a signal originating from a QApplication object
connecting to a slot in another QDialog ?
Is this at all possible ?
At present, I use global stuff to handle this situation, which is not very
elegant.
Regards, Matt
More information about the Qt-interest-old
mailing list