Use pyface undo instead of apptools.undo#507
Conversation
Codecov Report
@@ Coverage Diff @@
## master #507 +/- ##
=======================================
Coverage 30.62% 30.63%
=======================================
Files 206 208 +2
Lines 17830 17832 +2
Branches 2454 2454
=======================================
+ Hits 5461 5463 +2
Misses 12036 12036
Partials 333 333
Continue to review full report at Codecov.
|
|
Concerning the drag and drop handling for Qt... I think some spelunking will be required to see how hard it would be to get rid of apptools (who's using it, what are they doing with the |
jwiggins
left a comment
There was a problem hiding this comment.
A question and a comment. This should be good to go once the question is resolved.
…ow what is being tested
…, also delete the apptools examples directory
|
There was a slight misunderstanding. You should delete everything in |
so the warning should be generated from the |
|
|
fixes #503
As of Pyface 7.2.0, the undo/redo functionality that used to be specific to
apptoolsis now available through pyface. With the upcoming release of apptools, it will be deprecated.This PR simply replaces all uses of
apptools.undowithpyface.undoand updates file names / documentation accordingly.Note that after this PR, the only use of
apptoolsin the code base will be here:enable/enable/qt4/base_window.py
Lines 499 to 505 in f83869e
Maybe this code could use
pathlibinstead as mentioned enthought/apptools#143?apptoolsis still listed as a dependency inci/edmtool.pybut maybe that can be removed?Also, note: this PR will cause merge conflicts with #494, but they should be simple enough to resolve (just replace apptools with pyface in the example code that mentions it on 494)