← 输入框|github.com|刷新
Skip to content

PyQt4 ignores softkeys #195

Closed
Closed

Description

@ddale

Original report at SourceForge, opened Thu Mar 3 20:59:32 2011

I can't seem to get anything in PyQt4 + matplot lib to respond to the softkeys. For example,
'g' doesn't draw the grid. I tested this with the example from the web site:

http://matplotlib.sourceforge.net/examples/user_interfaces/embedding_in_qt4.html

I built several PyQt4 applications using this and it didn't work with any of them.
Altogether I have spent a couple of days trying to track this down with no joy.
This is version

David Smith

SourceForge Comments

On Thu Mar 3 21:07:42 2011, davidhsmith255 wrote:

This is with PyQt4 version 4.6.2, Python 2.6.4, and Matplotlib 1.0,0.

Activity

  1. efiring commented on Oct 7, 2011

    @efiring
    Member

    This sounds to me like a misunderstanding; the "softkey" event handling is part of the mpl gui, and is not active when mpl is used to embed a plot in an external gui. Then events are handled by the gui, not by mpl.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions