Pydm

Latest version: v1.25.1

Safety actively analyzes 681866 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 10 of 12

1.4

======================
PyDM 1.4 is here. This one has some very big new feature additions, as well as the usual host of minor improvements and bug fixes. We're very excited for the new stylesheet support, and the new widget rules system. Read on for more details...

New Features
------------
* PyDM now has a 'rules' system, that lets you add simple dynamic behavior to widgets directly from within Designer, without writing any code. When you right click a PyDM widget, a 'Edit Rules' option is available to open up the Rules Editor. From here, you can set up channels to observe, and configure rules to change widget properties based on formulas you define. If you use EDM, and miss its visibility rule feature, this is like that on steroids. If you use CS-Studio, you'll probably feel right at home. See the documentation for all the details. (365)
* Added a new PyDM Stylesheet system. This builds on Qt's stylesheet support, and lets you configure stylesheets to define the look-and-feel of PyDM widgets, including different styling for each alarm state. A stylesheet can be defined for the entire PyDM application to create a unified style for your entire library of displays. Stylesheets can also be defined for individual panels, or even individual widgets, to add new styling that also inherits (or overrides) the application stylesheet behavior. (372)
* Added a new 'fullscreen mode'. You can access it via the 'View' menu, by pressing 'F11', or by supplying '--fullscreen' at the command line. (371)
* PyDMComboBox can now handle data sources that provide a string-based value, in addition to the existing int support. (369, thanks teddyrendahl)
* Added a new PyDMDrawingPolygon widget, which draws an equilateral polygon with a user-specifiable number of sides. Triangles, hexagons, octagons, dodecagons... the power of Euclidian geometry is now in your hands. (376)
* The PyDM command line launcher now has a '--version' argument that will display version information. (377)

Bug Fixes
----------
* PyDM plot classes now convert limit information to floats before using. This works around an overflow bug in pyqtgraph. (370)
* On MacOS, PyDM will also search <qt_home>/libexec for the Designer.app package, in addition to <qt_home>/bin. If you installed Qt via Homebrew, PyDM's 'Edit in Designer' menu button should work for you now. (366)

1.4.0

1.3

======================
PyDM 1.3 is now available. This is a small release compared to the average for this project. We are hopefully going to be making smaller, more frequent minor version releases like this in the future.

New Features
------------
* A new environment variable, PYDM_DISPLAYS_PATH, can be used to specify a default directory in which to look for display files. This way, you don't always have to provide a full path to a display file, if you keep them all in one place. Your current working directory will be searched first, followed by all the directories listed in PYDM_DISPLAYS_PATH, separated by a ":". (349)
* An alternative syntax for supplying macro variables. The new syntax looks like this: `variable1=a, variable2=b`, which is much easier to type by hand. The old JSON-based syntax still works too. (351, thanks prjemian!)
* PyDMDrawingImage now supports Animated GIF files. Finally, your PyDM displays can recreate the Geocities websites of your childhood. (358)

Bug Fixes
----------
* Channels for widgets inside embedded displays are no longer connected multiple times. This should fix problems where say, clicking a button would write to a channel three times. (346, thanks to prjemian for discovering the problem)
* In the PyEPICS data plugin, channel alarm changes will now be sent out even if the channel's value didn't change. (356)
* The pyca data plugin now properly handles read/write access state changes, handles control variable changes, and sends out control variables to new listeners of an existing PV. (357)
* The related display button will now only open a new display on left clicks, not middle or right clicks. (359)
* Fix CI problems with codecov in Windows builds. (360)
* Waveform plots no longer redraw unless the underlying data has changed. (364)
* PyDM will no longer crash if a Symbol widget's imageFiles attribute is not valid JSON. (368)

Other Changes
---------------
* Vestiges of PyQt4 code have been removed from PyDM. (354, thanks tacaswell)

1.3.0

1.2

======================
Hello again, PyDM users! Version 1.2 is now available. This release is focused mostly on bug fixes, and the addition of many, many unit tests. We do have a few user-facing improvements, though.

New Features
------------
* Major improvements to the Scale Widget (Thanks laispc)
* More customizability of PyDMImageView in Designer.

Full List of Changes
--------------------
* Changed the default EPICS plugin to PyEPICS, rather than pyca.
* Major improvements to the Scale Widget (Thanks laispc)
* Expanded documentation for Tab Bar Widget
* Reorganized documentation for PyDM developers
* Many warning messages have been migrated from print statements to use the python logger system.
* Fix bugs in the right-click context menu for widgets.
* Unit tests and documentation added for PyDM utility classes.
* PyDM now has CI for Windows builds as well, through AppVeyor.
* PyDM will now display a blank main window if launched without a filename, rather than silently running with no UI at all.
* Unit tests added for PyDMPushButton.
* Add a command line option to the PyDM executable to use PyDM without showing a main window, for users who want to subclass PyDMApplication.
* Fix a bug where the PyDMPushButton would never send its value on push if the configured value was '0'.
* More customizability of PyDMImageView in Designer.
* PyDMImageView no longer has a hard-coded maximum value for the image data.
* Unit tests for PyDMLineEdit.
* Unit tests for PyDM Widget base classes.
* Fix a bug on PyDMBitIndicator which was causing crashes.
* Unit tests for PyDMShellCommand.
* Fix a bug when reshaping image data with C-like ordering in PyDMImageView.
* Unit tests for PyDMFrame.
* Unit tests for PyDMSpinbox.
* Fix crashes in PyDMDrawingImage when an invalid image file path was specified.
* PyDMEnumComboBox now inherits from QComboBox instead of QFrame. The API for this widget is still the same, but now all the QComboBox methods can be easily overridden.
* Fix an issue where changing a widget's `channel` property wouldn't update its internal variable.
* Fix a bug when dynamically adding curves to PyDMTimePlots.
* Fixed a crash when a zero-length waveform was used by a PyDMWaveformPlot.
* Refactored the data plugin loading system.
* Add a PyDMLogWidget to display logging information.
* Update the year on PyDM's license document.
* Add a new widget category for 'container' widgets like PyDMTabBar and PyDMFrame.
* Unit tests for PyDMEnumComboBox.
* Fix a crash when trying to load a new tool on a blank PyDMMainWindow.
* PyDMLabels now treat character waveforms as null-terminated.
* Fix a crash when trying to open a non-existent file in a new window with a PyDMRelatedDisplay button.
* Fix a crash case where PyDM sometimes tried to disconnect from the same channel multiple times.
* Fix a crash when a PyDM widget had a blank `channel` property.

1.2.0

Page 10 of 12

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.