[Kwintv] Starting an QtVision FAQ...

Dirk Ziegelmeier dirk at ziegelmeier.net
Sat Sep 20 14:05:02 CEST 2003


On Saturday 20 September 2003 12:02, Zsolt Rizsanyi wrote:
> IMHO the problem comes from the fact, that the widget containing the video
> output is reparented (to make it a main window). Probably this reparented
> window gets the focus, but the shortcuts are installed to the old
> mainwindow (with the menu and stuff).
I played around with this yesterday. Since I didn't have a clue why it doesn't 
work, I tried forwarding the keypressevent to the main window by creating a 
"unknownKeyEvent(QKeyEvent*)" signal in view.cpp and connecting it to 
keyPressEvent in mainwindow.cpp. But unfortunately no success.

Ciao,
Dirk

--
Dirk Ziegelmeier * dirk at ziegelmeier.net * http://www.ziegelmeier.net



More information about the kwintv mailing list