[PyQt] MDI Windows Example

TP wingusr at gmail.com
Wed Nov 24 20:18:28 GMT 2010


On Wed, Nov 24, 2010 at 6:26 AM, Арсений Т <senyai at gmail.com> 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    PyQt at riverbankcomputing.com
> 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.


More information about the PyQt mailing list