On Wed, Nov 24, 2010 at 6:26 AM, Арсений Т <[email protected]> wrote:
> Hello.
>
>        Ctrl+F4 does not work in "examples\mainwindows\mdi\mdi.pyw":
>    QAction::eventFilter: Ambiguous shortcut overload: Ctrl+F4
>    (Python 2.5, windows XP, latest PyQt4)
> _______________________________________________
> PyQt mailing list    [email protected]
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>

See my 
http://tpgit.github.com/MDIImageViewer/implementation.html#qt-programming-notes
for an explanation of the problem and the solution. In particular you
have to set shortcutContext=QtCore.Qt.WidgetShortcut when creating the
QAction.
_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to