What's Changed
This patch adds a few new features to Base Plot and Archive Time Plot along with some bug fixes. We added labels on crosshairs for Time Plots, Archive Time Plots and Waveform Plots and fixed how crosshairs were working. We addressed an issue with dynamically switching a channel on a PyDMWidget.
This update also adds another slew of changes that are needed for PySide6 support in PyDM. (Note that Pyside6 support is currently still in progress and will be fully enabled in a future release. Using Pyside6 will also be an optional feature and should not effect how PyDM currently uses PyQt5.)
Enhancements
- ENH: Adds Labels to Timeplot Crosshair by @YektaY in #1173
- ENH: Infinite line extension for PyDMArchiverTimePlot by @YektaY in #1167
- ENH: ArchiveTimePlot Fetch Data on X-Axis Change by @zdomke in #1172
Bug Fixes
- BUG: properly remove error bars in time plot's clearCurves by @shilorigins in #1217
- FIX: Don't attempt a disconnect on the value signal if the widget is being destroyed by @jbellister-slac in #1218
- FIX: Ensure previous instance of display class is fully cleaned up after reloading it by @jbellister-slac in #1209
- FIX: Fixing bug with updateXAxis def by @zdomke in #1216
- BUG: connect BasePlotAxisItem auto-range methods to the linked ViewBox auto-range methods by @shilorigins in #1212
- FIX: Disconnect the value signal when removing a listener from a connection by @jbellister-slac in #1208
Maintenance:
- MNT: temp fix for building pyca from git causing gh-actions tests to fail. by @nstelter-slac in #1211
- MNT: appease newer python by not using enum to index into tuple by @nstelter-slac in #1200
- MNT: instruct users to use conda from Miniforge for it's better licensing. by @nstelter-slac in #1205
- MNT: switch from python2 style super() calls to python3 by @nstelter-slac in #1202
PySide6 Changes:
- MNT: make sure we pass a weak ref of the current object to widget_destroyed by @nstelter-slac in #1189
- MNT: update enum-button widget's button-group to use proper clicked signal, avoid pyside6 error by @nstelter-slac in #1196
- MNT: stop high-dpi setting warning on pyside6(qt6) by @nstelter-slac in #1198
- MNT: pyside6 just throws an IndexError instead when connecting to value_signals not overloaded with the specified type by @nstelter-slac in #1197
- MNT: On pyside6 use == for signal comparison (can't use .signal like in pyqt5) by @nstelter-slac in #1199
- MNT: Move some calls to children classes to stop pyside6 throwing an error about init in classes that use multiple inheritence. by @nstelter-slac in #1181
- TST: fix error during tests on pyside6 with c++ internal object deletion by @nstelter-slac in #1215
Full Changelog: v1.26.0...v1.27.0