-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Qt5 Support #302
Qt5 Support #302
Conversation
- install SWIG from EDM - add pyqt5 to edmtool - mousewheel API
Codecov Report
@@ Coverage Diff @@
## master #302 +/- ##
==========================================
+ Coverage 33.6% 33.65% +0.05%
==========================================
Files 206 206
Lines 18278 18298 +20
Branches 2407 2411 +4
==========================================
+ Hits 6142 6159 +17
- Misses 11744 11747 +3
Partials 392 392
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In general LGTM
QtCore.QPoint(0, 200), QtCore.QPoint(0, 200.0/120), 200, | ||
QtCore.Qt.Vertical, QtCore.Qt.NoButton, QtCore.Qt.NoModifier, | ||
QtCore.Qt.ScrollUpdate | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I feel like this code should be in a pyface testing support module... But I don't see any such module in pyface.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pyface doesn't really do any testing at the level of individual mouse events (things are usually driven at the level of signals and slots), so we haven't had a need to put anything like this into Pyface.
For now it's probably good enough to have it as part of enable.tests.qt4
; if we find that we are repeating this a lot we might want to create a enable.qt4.testing.*
utility method.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good to me
I think this is good to merge. |
Apparently the two tests on wx are failing (but the job has been allowed to fail on CI):
The CI job for wx is very close to passing. If we can require wx job to pass, we will be able to catch these more easily. I tried to fix these by assigning the |
Now we have a released Pyface with Qt5 support, it makes sense to see what is needed to support Qt5.
This PR: