Skip to content

Conversation

@estan
Copy link
Contributor

@estan estan commented Mar 7, 2016

QMessageBox is in QtWidgets, not QtGui.

def about(self):
QtGui.QMessageBox.about(self, "About",
QtWidgets.QMessageBox.about(self, "About",
"""embedding_in_qt5.py example
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line needs to be re-aligned with the opening parentheses above.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, sorry about that. Commit updated. I also removed the now unused import of QtGui.

QMessageBox is in QtWidgets, not QtGui.
@estan estan force-pushed the qt5-example-fixes branch from f3c475c to b0112a4 Compare March 7, 2016 09:29
tacaswell added a commit that referenced this pull request Mar 7, 2016
@tacaswell tacaswell merged commit 6ea5e35 into matplotlib:master Mar 7, 2016
@tacaswell
Copy link
Member

👍 Thanks

tacaswell added a commit that referenced this pull request Mar 7, 2016
@tacaswell
Copy link
Member

backported to v1.5.1-doc as 20db6a0

@QuLogic QuLogic added this to the 1.5.2 (Critical bug fix release) milestone Mar 7, 2016
bearstrong pushed a commit to bearstrong/matplotlib that referenced this pull request Apr 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants