Repository navigation
Support wxpython 4 - #34
Merged
Merged
Conversation
Update `aboutdialog`, `calculation`, `datasetconfigure`, and `output` panels to wxGlade 0.9.3 and wxpython 4.0.4. No changes in code function.
Update all design files with wxglade 0.9.3.
Show relevant wxglade version and source-generation date.
OutputPanel was removed by editing generated code, but remained in the wxg file, which put it back on code refresh. Remove it now from both the code and wxg.
wxpython4 removed underscored plain functions.
`wx.grid.EVT_GRID_CMD_CELL_CHANGE` was removed.
Fix `wx.Font` arguments mismatch in wxpython 4.
sizer objects have been removed after upgrade to wxpython4.
Preserve compatibility with wxpython 3.
Codecov Report
@@ Coverage Diff @@
## master #34 +/- ##
===========================================
+ Coverage 27.86% 59.61% +31.75%
===========================================
Files 89 98 +9
Lines 11717 11988 +271
===========================================
+ Hits 3265 7147 +3882
+ Misses 8452 4841 -3611
Continue to review full report at Codecov.
|
Must start with `FD_` prefix. Drop single `FD_OPEN` which is already the default style.
PyTextDataObject --> TextDataObject NamedColour --> Colour InsertStringItem --> InsertItem AddSimpleTool --> AddTool
Binding via event call is deprecated.
Fixes segmentation fault on SetBackgroundColour.
GetSizeTuple --> GetSize
GridCellAttr had under counted reference count. Use `attr.IncRef()` before each `SetSomething(attr)` call.
First column in ParametersPanel grid is read-write.
Context manager to temporarily override `webbrowser.open`.
Remove unnecessary uncovered code.
icons were not installed with `pip installation`.
Ensure icon paths are correctly resolved.
Disable ErrorReportDialog when testing GUI widgets.
Add `_expand_tooltip_aliases` utility to help with repeated tooltips.
Handle overload for plain superclass Append.
MenuItem.SetText --> SetItemLabel Window.GetPositionTuple --> GetPosition
Temporarily disable the PopupMenu method. Fix hanging tests on Linux and travis.
Replace with `InsertItem`. Keep as is for WX3.
Expose WX4 failure due to renamed constant.
- `CHANGE_DIR` --> `FD_CHANGE_DIR` - `OVERWRITE_PROMPT` --> `FD_OVERWRITE_PROMPT` - `SAVE` --> `FD_SAVE`
As of matplotlib 1.2 the `NavigationToolbar2Wx.save` method was renamed to `save_figure`. The `save` function in the derived class ExtendedToolbar is thus never called.
Path resolution of libgsl.a has been fixed in pdffit2 1.2.
pavoljuhas
force-pushed
the
support-wxpython-4
branch
from
September 9, 2019 21:34
c1eeab5 to
4c8ea2d
Compare
Replace with `ListCtrl.SetItem`.
Keep using `wx.NewId` in WX3.
Factor out `TestParametersPanel._clickcell` to a shared function.
Replace `wx.TheClipboard` with a dummy object to prevent clipboard modifications.
Avoid clipboard access from implied `canPasteIntoCells` call.
The `test__resampledPDFDataSet` method belongs to TestFitDataSet class. Also fix docstring typo.
1 task done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Work in progress
Implements #33.
This incorporates @dragonyanglong
update_wxglade_versionbranch.Status: PDFgui starts with plenty of wx deprecation warnings and
crashes with segfault after phase or dataset selection in the fit tree.
TODO
Ubuntu 16 provides only wxpython 3.