fsleyes-widgets release history¶
This document contains the fsleyes-widgets release history in reverse
chronological order.
0.12.2 (Wednesday October 6th 2021)¶
Added¶
New
ATC_NO_PROPAGATE_ENTERstyle flag for theAutoTextCtrl.
0.12.1 (Wednesday April 21st 2021)¶
Changed¶
Removed some hard-coded colours to improve support for dark themes.
0.12.0 (Tuesday April 20th 2021)¶
Changed¶
The
wxPlatformfunction now differentiates between GTK2 and GTK3wxPythonbuilds.
0.11.3 (Friday April 16th 2021)¶
Changed¶
Added the
EditableListBox.MoveItem()method (it was previously a private method called__moveItem).
0.11.2 (Saturday March 27th 2021)¶
Changed¶
The
BitmapRadioBoxnow allows all items to be de-selected, by using theBMPRADIO_ALLOW_DESELECTEDstyle.
0.11.1 (Tuesday March 9th 2021)¶
Changed¶
The
fsleyes-widgetsAPI documentation is now hosted at https://open.win.ox.ac.uk/pages/fsl/fsleyes/widgets/Removed some uses of the deprecated
wxversion()function.
0.11.0 (Thursday February 18th 2021)¶
Added¶
New functions for querying the environment at runtime, including,
wxVersion()(not to be confused with the deprecatedwxversion()),wxPlatform(),wxFlavour(),frozen(),canHaveGui(),haveGui(),inSSHSession(), andinVNCSession().
Deprecated¶
The
wxversion()function has been replaced bywxFlavour().
0.10.0 (Wednesday February 10th 2021)¶
Changed¶
The .textBitmap function has been made more flexible, and can automatically infer the width/height of the bitmap given just a font size.
0.9.0 (Thursday June 4th 2020)¶
Added¶
The
FloatSpinCtrlhas a newprecisionoption, allowing the displayed precision to be specified (!52, !54).
Fixed¶
Fixed a bug in the
AutoCompletePopup, which could cause a segmentation fault on GTK (!53).
0.8.4 (Wednesday October 9th 2019)¶
Added¶
New
status.ClearThreaad.die()method, used for testing purposes.
0.8.3 (Friday October 4th 2019)¶
Added¶
New
vgapoption for theEditableListBox.New
minHeightoption for theWidgetList.
Changed¶
Minor GTK3 compatibility fixes.
0.8.2 (Wednesday September 18th 2019)¶
Changed¶
fsleyes-widgetsis now tested against Python 3.6, 3.7 and 3.8, and GTK3.
0.8.1 (Tuesday September 10th 2019)¶
Fixed¶
Fixed a bug in the
WidgetGridwhere scrolling behaviour was not being initialised correctly.
0.8.0 (Wednesday August 21st 2019)¶
Added¶
New
EditableListBox.GetWidgets()method.New
WidgetList.GetWidgets()method.New
WG_DRAGGABLE_COLUMNSstyle andWidgetGrid.ReorderColumns()andWidgetGrid.SetDragLimits()methods, allowing columns to be re-ordered by clicking and dragging the column labels.New
WidgetGrid.GetRowLabels(),WidgetGrid.GetColLabels(),WidgetGrid.SetRowLabels(),WidgetGrid.SetColLabels(),WidgetGrid.GetRowLabel(), andWidgetGrid.GetColLabel()accessor methods.New
b64iconmodule, for loading base64-encoded images.New
overlaymodule, for drawing overlays on any widget. Currently only one function -textOverlay()- is available.
Changed¶
fsleyes-widgetsis no longer tested against Python 2.7 or 3.4.
Fixed¶
Fixed a bug in the
ImagePanelaspect ratio calculation.
0.7.2 (Friday November 23rd 2018)¶
Fixed¶
Fixed a small regression in the
colourBarBitmap()function.
0.7.1 (Friday November 23rd 2018)¶
Changed¶
Refactored the
colourBarBitmap()function to better handle larger font sizes.
0.7.0 (Sunday October 21st 2018)¶
Added¶
The
Notebookclass allows the text colour of buttons for disabled pages to be changed.The
ImagePanelhas a new option to preserve the aspect ratio of the displayed image.
0.6.5 (Monday October 8th 2018)¶
Changed¶
Made some tests more lenient due to tiny cross-platform differences..
0.6.4 (Friday October 5th 2018)¶
Changed¶
Development (test and documentation dependencies) are no longer listed in
setup.py- they now need to be installed manually.Removed conda build infrastructure.
0.6.3 (Tuesday August 28th 2018)¶
Changed¶
The
reportIfError()function no longer emits a stack trace when logging errors.
0.6.2 (Tuesday June 5th 2018)¶
Changed¶
The
ImagePaneldoes not update its minimum size based on the image size - this is left entirely up to application code.
Fixed¶
Fixed some minor bugs in the
colourbarbitmap.
0.6.1 (Friday May 11th 2018)¶
Added¶
The
colourBarBitmap()function accepts a newscaleparameter, to allow scaling for high-DPI displays.
0.6.0 (Wednesday May 2nd 2018)¶
Added¶
New
gammaoption to thecolourbarbitmap()function, allowing an exponential weighting to be applied to colour bars.
Changed¶
BitmapRadioBox.Enable()andBitmapRadioBox.Disable()renamed toBitmapRadioBox.EnableChoice()andBitmapRadioBox.DisableChoice(). The former methods were masking, and had different semantics to,wx.Panel.Enableandwx.Panel.Disable.
0.5.4 (Tuesday March 6th 2018)¶
Small adjustment to conda build and deployment process.
0.5.3 (Monday March 5th 2018)¶
Added CI infrastructure for building conda packages.
0.5.0 (Monday February 26th 2018)¶
The
Notebookclass now emits anEVT_PAGE_CHANGEDevent when the selected page is changed.Various bug-fixes to the
Notebookclass.FloatSpinCtrlwidgets should now accept numbers in scientific notation.
0.4.1 (Thursday January 25th 2018)¶
Minor internal adjustment to the
FloatSpinclass.
0.4.0 (Monday January 8th 2018)¶
0.3.2 (Tuesday January 2nd 2018)¶
More adjustments to
progress.runWithBounce()function.
0.3.1 (Thursday December 14th 2017)¶
Further internal adjustments to
progress.runWithBounce()function.
0.3.0 (Thursday December 14th 2017)¶
New
progress.bounce()function which allows aBouncedialog to be used within a context manager.Deprecated the
Bounce.runWithBounce()method, in favour of a new standaloneprogress.runWithBounce()function.progress.runWithBounce()modified to be non-blocking, aswx.Yieldloops are very unreliable.
0.2.1 (Monday December 5th 2017)¶
Bounceclass can now be manually or automatically controlled.Some adjustments to the
EditableListBox- it was potentially calculating item heights incorrectly.Unit tests are now run against wxPython 3.0.2.0.
0.2.0 (Monday October 30th 2017)¶
AutoTextCtrlandAutoCompletePopuphave properties to allow access to their internalwxcontrols - these are used for unit testing.The
AutoCompletePopupruns its ownwxevent loop while it is displayed, so that events are not caught by other active modal dialogs.Fixed issue with
NumberDialogreturning a value when it has been shown non-modally and cancelled.Fixed python 2/3 compatibility issue with
TogglePanel.Fixed issue with
WidgetGridnot initialising colours correctly.Deprecated the
TogglePanel.GetToggleButton()method, in favour of a newbuttonproperty.Added the
deprecationlibrary as a new dependency.
0.1.0 (Thursday October 19th 2017)¶
Fixes to the
AutoTextCtrlandAutoCompletePopupso they work correctly in floating dialogs.New
fsleyes_widgets.utils.progressmodule, which contains convenience classes and functions based on thewx.ProgressDialog.New package-level function
isalive()to test whether a widget is alive or not.
0.0.6 (Thursday August 10th 2017)¶
New class
togglepanel.TogglePanelused byWidgetListin place ofwx.CollapsiblePane.TypeDict.get()method has option to ignore class hierarchy, and only return hits for the specifie type.
0.0.5 (Friday July 14th 2017)¶
New style flag on
WidgetListwhich allows at most one group to be expanded at any one time.
0.0.4 (Sunday June 11th 2017)¶
wxPython/Phoenix compatibility fixes in
ColourButtonandWidgetList.Removed obsolete code in
WidgetGrid.Removed python2/3 checks in favour of wxPython/Phoenix checks in
textpanel,floatspin, anddialog.
0.0.3 (Thursday June 8th 2017)¶
Added CI build script
Added
wxversion()function.wxPython/Phoenix compatibilty fix in
WidgetGrid.
0.0.2 (Sunday June 4th 2017)¶
Adjustments to pypi package metadata.
0.0.1 (Saturday May 27th 2017)¶
First public release as part of FSLeyes 0.11.0