qtepics.github.io

EPICS Qt Release Notes

Release Index

r3.7.2
r3.7.1
r3.6.4
r3.6.3
r3.6.2
r3.6.1
r3.5.3
r3.5.2
r3.5.1
r3.4.3
r3.4.2
Earlier Releases

r3.7.2

Release date: 11th November 2019.

The main feature of this release is the revamping of the caQtDm integration. Please see caQtDM integration documentation for details. The other changes are itemised below.

qeframework

QEStripChart

Setting QEStripChart PV variable names in designer now works as expected.

When calculating distribution statistics, avoid the potential divide by zero and subsequent segmentation fault.

There have been three additional preset PV scaling options to the strip chart. These are re-scale plotted data to upper, lower and centre third of the chart

Sorted out font on StripChart toolbar (especially when global style sheet is being applied). Also now apply a consistant formatting for zero values.

This widget has been modified to include markup settings when saveing and/or restoring configuration data.

QEMenuButton

Updated the setup dialog to introduce a 3:5 stretch ratio for each side of the dialog.

The default name is now name… (as opposed to ‘X’ plus number).

QEScalarHistogram and QEWaveformHistogram

Added readout format properties to scalar and waveform histogram widgets. These are a subset of the usual display format properties.

QEImage

Made QEImage more robust with respect to dynamic scaling.

PV Access

Updated PV Access related functionality for base-7.0.3. Now process precision and have dropped using format (form is still to be done). The hysteresis is alwayus extracted as a byte from alarmValue. Introduced opaque variant type for unknown/unhandled PVA types.

general

Removed use of deprecated functions.

documentation

Reworked QBitStatus/QEBitStatus documentation, and delivered as a separate document.

Removed the old readme.txt file and Updated the README.md file.

QEGui

caQtDM

Support for caQtDM integration has been revampled and we now support V4. Please see the caQtDM integration page for details. Note: caQtDM integration is still optional.

Running

qegui -v

reveals if caQtDM integration has been included.

Dialogs

The various dialogs (about, saveConfig, restoreConfig and manageConfig) now use QEDialog so that the dialog itself is located in the middle of the relavent form. Ensure we save and relocate to the intial startup directory when using config related dialogs.

designer

When opening designer, QEGui used to check for designer-qt4 program and then the designer program. Now we just attempt to callup designer. Qt 4.8 users should fake designer to call designer-qt4.

structure

The QEGui files have been restructured. The UISamples folder have beem moved from the qeguiApp/project directory to own top level uiSamples directory. The header files have been colocated with corresponding .cpp files in the qeguiApp/project/src folder.

qeBinaries

New 3.7.2 msi and rpm files available.

The new msi file includes a wrapper script for qegui and designer, so that we don’t clobber the ‘global’ QT_PLUGIN_PATH environment variable which can then break other programs.

r3.7.1

Formal release date: 29th August 2019.

general

The most significant change to the EPICS Qt framework going from the 3.6 releases to the 3.7 release series is that the framework is now capable of supporting the PV Access protocol for some of the normative types available via PV Access. For NTNDArray type only 8bit mono images are currently supported, and will be fixed for release 3.7.2

Refer to the pv access page for details of this update. NOTE: this includes important build information.

The more “mundane” changes since the previous release are detailed below.

documentation

The unwieldy large QE_QEGuiAndUserInterfaceDesign document has been made more manageable by extracting widget specific information into another document, namely: QEWidgetSpecifications. This in turn may be further split in future releases, and the documentation for any new widgets such as QEDistibution and QEFormStateChange will have their own standalone document.

qtepics.github.io

The markdown files within this depo. have under gone a restructure and general renewal. The large index.md has been broken up into a number of smaller, topic related and more manageable files.

Within the qtepics.github.io repository in the tools directory is the qe_git_test_build script that is used to check build-ability after each commit or set of commits to github. For Linux users, this could be used as the basis to create your own build script suited to meet your own particular needs.

qeBinaries

In the qeBinaries repository there are the following files:

EPICS_Qt_Installer_3_7_1.msi

This installs qegui, designer and the required libraries. You also get a copy of caget and caput. This does not include the PV Access functionality as it built against base-3.15, nor does it include the ffMpeg capability.

epicsQt-3.7.1-el7.x86_64.rpm

This rpm installs qegui, designer and the required libraries. It was assembled and tested on a CentOS 7 box. It may work on other distros that use the YUM package manager.

qeframework

QEDistrubtion

This is a new widget that can monitor a single PV and provides statistical information about the value i.e: min, max, mean and standard deviation. It also provides a graphical representation of this of this data. Please refer to the QEDistrubtion documentation (out of the qeframework repository).

QEFormStateChange

This is a new widget that provides the means for automatic actions to take place when a form is opened or closed. This is akin to having QEPushButton on the form which is automatically clicked when the form is opened and another when it is closed. The available actions are write a value to a PV and/or invoke a local script. It differs from a QEPushButton in that it cannot open another ui file. Please refer to the QEFormStateChange documentation.

QENTTable

This is a new widget specifically for the NTTable normative type. Please refer to the QEWidgetSpecifications documentation.

macro Expansion

This has been modified to avoid an annoying feature where defining a priority substitution in terms of an exiting substitution of the same name failed. So now, you can do something like:

P=$(P)ABC

and it will expanded as expected.

Also added a quick ‘nothing-to-do’ test in the substitute function.

writeNow functions

Many control widgets have a writeNow function which causes the current value to be written to the PV. These functions are now public slots such that the functionality can be triggered by a signal from another widget.

Alarm handling

When processing Archive Appliance data, the alarm severity was erroneously set as status and the status set as severity. This has now been now fixed.

QCaAlarmInfo’s severityName function now includes the Channel Access archive severity names as well.

Modified the QCaAlarmInfo::isInAlarm function to test severity as opposed to status.

QEAnalogProgressBar

Updated QEAnalogProgressBar to handle alarm colours more consistantly. Maid some functions in QEAnalogIndicator virtual and protected to help do this.

QEGroupBox, QRadioGroup and QERadioGroup

These widgets will now interpret a property title of “-“ as a blank title. Previously setting a title blank would result in the original default title, e.g. “QRadioButton”.

QEPushButton, QECheckBox and QERadioButton

Added a NoUpdate choice to the updateOption property for completeness for when the subscribe property is set true. This combination to allows alarm sensitivity without changing the button text.

QEPvLoadSave

This now provide summary of the number equal, not equal and n/a values for each group. This is shown as a three number tuple in the delta column.

Ensure action complete status set correctly when extracting data. This ensures the abort results are properly presented to the user.

QEPlotter

Added a normal/reverse video property to the QEPlotter, this replicates the QEStripChart look and feel.

QEScaling

QEScaling::getWidgetScaling function modified to take a const widget reference. Also, removed debug/info statements from scaling module, they served no useful purpose.

QESimpleShape/QSimpleShape

The QESimpleShape widget now copies both variable names when using the context menu copyVariable option and when dragging on to anything that accepts textual drops.

QESimpleShape modified to honor the “when in alarm state” option for both main and edge colours. User specified colours, when not in alarm, should be readily distinguishable from alarm colours if/when this option is used.

QSimpleShape - added some new shapes: star, cross, plus and pentagon. The cross and plus shapes are modify-able by the percentSize property.

Also created a shape selection slot function, which takes an int parameter. This means that shape itself may be controlled by a PV, possibly via a QELink or QECalcout widget. We will endeavor to keep the int value to shape mapping contestant if/when new shapes are added.

QEStripChart

The calculation capability and been extended to allow the calculation to be applied to data retrieved from the archive and to previously acquired live data.

The QEStripChart’s generate statistics functionality now includes a graphical presentation similar to QEDistribution.

QEPvProperties

The Ch1, Ch2, Ch3 and Ch4 fields have been added to the iTech liberaSignal record type’s field list specification. Note: the actual existence of some of the liberaSignal fields are device type dependent.

QEMenuButton

Added an icon and iconSize properties - these are passed to and handled by the internal QPushButton widget. Also changed the hint size height to match that of QPushButton.

Explicitly call connectChannel, needed for new qcaobject::QCaObject objects.

persistanceManager

The persistanceManager has been extended to support addValue/getValue for QColor type values. This is only relevant if you have created your own widgets.

applicationLauncher

The function parameters are now const where applicable. Also de-inlined the inline functions in order to de-clutter the header file.

qegui

Integrated the QEDistibution widget into qegui, there is a built in form that contains a single instance of the widget. It is accessable from the menu: Tools | PV Distribution…

r3.6.4

Release date: 4th February 2019.

Very few changes since release 3.6.3. This release is essentially a “stake-in-the-ground” before release 3.7.1. The main changes in this release are detailed below. Please see the GitHub log for details.

qeframework

QELog

The QELog module now stores upto 1000 log messages prior to the creation of a QELog widget. A QELog widget may now be optionally flag as master, and as such it will retrieve the stored log messages and display them to the user. In this way, log messages created before the creation of a QELog widget are not lost.

Note: there can effectively only be one master QELog. The QELog built into qegui has been set as master.

QEStripchart

When writing a PV trace to file, removed the extra “.” inserted into the date format (is this a Qt5.10 thing?). Also use chart default directory for save file dialog. Change the format on the time duration dialog to be HH:MM:SS where the HH is 24 hour.

QEEnvironmentVariables

Fixed the interpretation of false boolean environment variable values, and also added YES and NO options.

qegui

Parameters

Introduce long parameter options and allow use of adaptation_parameters_file.ini file and/or environment variables. This means that

export QEGUI_ADJUST_SCALE=200 ; qegui

and

qegui --adjust_scale=200

are eqivilent. Run qegui -h for long name details.

Also just ignore unknown options - these may now be accessed by bespoke plugins.

Inbuilt QELog widget

Inbuilt qegui message log has the master attribute set.

caQtDM

Refactor caQtDM code into to separate interface module. This work is a prelude to verion 4 integration.

qtepics.github.io

All documentation upgraded to markdown. Cleaner, can be maintained by simple text editor, and no more buggy translation from .docx to .html

r3.6.3

Release date: 18th December 2018.

The main changes in this release are:

qeframework

Macro Expansion

The macro expansion functionality has been enhanced. It now does multiple passes (up to ten); this allows macro to be defined in terms of other macros.

QEComboBox and QESpinBox

The default focus policy has been changed from WheelFocus to ClickFocus. These widgets now ignore wheel events when the widget does not have focus. This stops unexpected PV writes when the wheel is (inadvertently) rotated.

QECorrelation (new)

The QECorrelation widget allows two scaler to be correleated and the result presented to the user graphically together with the calculated correlation factor. The user may select, at design time and/or run time, the sample interval and the maximum number of points to be retained for the correlation.

QEStripChart

The delta time precision is now greater (up-to to 3) for shorter view durations.

We now ensure the graphic context menu “box” does not override the “line” markup selection.

QEPvProperties

The acalcout record and associated fields have been added to the inbuilt record/field resource file.

Archiver

When connecting to the Archiver Appliance, we now check if the URL (specified by QE_ARCHIVE_LIST) ends with ‘/’, and if it doesn’t we add it.

qegui

PV Correlation

Make new QECorrelation widget has been made available in qegui via menu:

Tools | PV Correlation...

Version information

Update qegui -v to output library info:

$ qegui -v
QEGui version:     3.6.3 (Production)  Dec 13 2018 18:02:24 (using QT 5.10.0)
Framework version: 3.6.3 (Production)  Dec 13 2018 17:58:44 (using QT 5.10.0)
Framework attributes: FFMPEG video streaming, Archiver Appliance
Support packages:  EPICS 3.15.5 and QWT 6.1.3
Library path: /opt/Qt5.10/5.10.0/gcc_64/lib
Plugin path:  /opt/Qt5.10/5.10.0/gcc_64/plugins

rpm constructor script

Created an epicsQt linux rpm constructor script. The rpm will include the required Qt, EPICS, QWT and epicsQt libraries and plugins together with epicsQt and designer.

Note: Intended for use by the developers, but feel free to experiment with it.

binaries

A new version of the msi installation file for Windows has been uploaded.

r3.6.2

Release date: 8th October 2018.

The main changes in this release are:

qegui

When outputting version info qegui now outputs the QE framework build option attributes , e.g.

$ qegui -v
QEGui version: 3.6.2 (Development) Oct 10 2018 18:38:19 (using QT 5.10.0)
Framework version: 3.6.2 (Development) Oct 10 2018 18:35:52 (using QT 5.10.0)
Framework attributes: FFMPEG video streaming, Archiver Appliance
Support packages: EPICS 3.15.5 and QWT 6.1.3

This information is also shown on the help about dialog.

Added a nice qegui icon: for windows executable and QT versions 5 or higher only.

New windows are now relocated close to the opening window. While Qt’s habit of opening new windows a spread out as possible was sensible for a single “small” monitor, it is not sensible when running on system with two or even four or more “large” monitors.

qeframework

The significant changes for this release are:

QEPeridic

This widget has been re-worked to:

QEImage

The ellipse markup now take an optional ellipse rotation PV. The value of this PV defines the clockwise rotation of the ellipse in degrees.

QEPushButton, QERadioButton and QECheckBox

The update option now allows any combination of Text, Icon and/or State.

QEStripChart

The save/restore configuration now also saves colour, plot mode, the draw mode, the archive retrieval mode and time mode. It now also allows up to 400K (up from 40K) live data points to be stored and plotted. This may be extended/restricted by defining the QE_STRIPCHART_MAX_REAL_TIME_POINTS environment variable.

QESimpleShape

This widget now no longer complains when being used to monitor the alarm state of a non-numeric PV.

QENumericEdit

The “under-the-covers” value and the emitted values now exactly reflects the displayed value.

QENumericEdit

The value written to the PV now exactly reflects the displayed value.

QEHistogram and derived widgets

These now allow the specification and selection of a secondary background colour and banding size - this allows histogram entries to be “grouped”.

QELCDNumber (new)

This only suitable for numeric PVs as it uses the QLCDNumber widget under the covers.

binaries

We have added an msi installation file for Windows - the installation includes:

It does not include FFMPEG support, but does include Archiver Appliance support. It has been verified on both Windows 7 and 10 (it failed on an old Windows XP system).

All compilation performed using mingw 32-bit compiler.

Files are installed in “C:\Program Files (x86)\Australian Synchrotron\EPICS_QT_3_6_2...”

QEGui and designer desktop icons are created. The PATH environment variable is modified and system environment variables are created for:

if they do not already exist.

r3.6.1

Release date: 20th April 2018.

The main change for this release is the inclusion of Archiver Appliance support. See the Archiver Appliance page for more details.

r3.5.3

Release date: 16th April 2018.

The main changes in this release are:

qegui

In the standard File menu, there are two new menu items. These are:

qeframework

QEPlotter

The QEPlotter now checks for and does not attempt to plot NaN and +/- Inf numbers. The widgits minimum and maximum X and Y range values are now exposed as properties.

QEStripChart

The QEStripChart widget modified to provide an expression evaluation capability. This is similar to that already provided by QEPlotter.

QEImage

Reorganized the how ffmpeg functionality is/is not included into QEImage. No functional change per se but does now avoids a seg-fault in designer.

QEUtilities

QEUtilities includes the functionality for List PV names and do a Screen Capture, so this is now available to non-qegui Qt applications.

elementsRequired property

For single variable widgets such as QELabel, QESimpleShape etc., added an elementsRequired integer property in order to limit the number of requested elements from an array PV. The default value is 0 which is read as subscribe for all elements. While restricting the number of elements subscribed for is sensible for monitors such as QESimpleShape and QEBitStatus (the reason behind this change) care should be taken when using it with control widgets.

disconnected graphical widgets

Make disconnected graphical widgets unambiguously greyer. Modify QBitStatus to use the same washed-out colours as QESimpleShape.

disconnected signals

Issue the disconnected signals immediately on subscribe - then await connection. This ensures widgets look disconnected asap if the associated PV does not exist.

font change events

Updated/added font change event in the event filter (as opposed to overriding the fontChange function which isn’t virtual in Qt5) to these widgets: QEHistogram, QEMenuButton, QNumericEdit, QRadioGroup, QERadioGroup and QETable. This widgets now respond property to font changes within designer and at run time.

QELabel, QESubstitutedLabel

For QLabel based widgets (QELabel, QESubstitutedLabel) widgets now have a light gray colour style, both within designer and at run time (by setting the defaultStyle property). This colour is very close to, but sufficiently different from the standard form background colour, to be unobtrusive and yet help visualisation when designing forms and at run time.

For alarm sensitive labels, this will be superseded by the standard alarm colour when displaying the form at run time.

Note: For non alarm sensitive QELabels on forms with a non standard background colour, you will have to clear the defaultStyle property.

QEDescriptionLabel (new)

The QEDescriptionLabel widget directly inherits from QELabel. There is no extra functionality; however the widget has different default property values (smaller font, not alarm sensitive, clear style-sheet, no indentation). It is suitable/intended for displaying descriptive text, typically from the .DESC field of a record.

QECalcout (new)

The QECalcout widget provides a calcout record-like widget. So much so that where applicable the property names have been chosen to match the calcout record. This widget can be used instead of and/or to complement the QELink widget. This widget has no PV variables of its own. The inputs, A to L, must be provided either by signals from other (QE) widgets or preset as ‘constants’ using the a to l properties. Under the covers, this widget uses the same calculation engine as the calc/calcout record.

QEPVLoadSave

The QEPVLoadSave widget has been updated to show not only the snap-shot/load/save value, but also show the live value and difference value.

QEPvProperties

The built in list of records and associated record fields used by the QEPvProperties widget has been updated to reflect base 3.15.5.

documentation

Updated the support documentation.

r3.5.2

Release date: 11th November 2017.

The main changes for this release are:

qegui

Above and beyond any application scaling (see option -a in documentation and/or qegui -h), qegui will now scale an individual window in response to a number of control+key combinations in a similar fashion to many browsers and other programs. The control+key actions are:

qeframework

mingw architecture

The framework project file now automatically defines the _MINGW macro if the EPICS host architecture is “win32-x86-mingw” or “windows-x64-mingw”.

QEPvProperties

The QEPvProperties’ context menu now provides a process record option (this writes 1 to the record’s PROC field) and now provides consistent context menu even when clicking on the value field within this widget.

QEPlotter

The QEPlotter widget has been updated so that it does not attempt to plot data if the associated array PV has an invalid severity. In now also clears any old plot data when establishing a new channel connection.

QEMenuButton

Incorporated Bob Gunion’s change to the QEMenuButton which has modified to introduce a labelText property to allow the button’s text to be set and also to honor the widget’s font setting.

dbValueChanged

All single PV widgets now emit a parameter-less dbValueChanged signal in addition to various other signals.

units

The units (typically specified in the EGU field) for a DBF_CHAR type has now available to the QELabel and other widget type. String formatting has modified to ignore the units when a DBF_CHAR array PV is interpreted as a long string.

QEPvLoadSave

The way in which QEPvLoadSave widget handles array PVs and enumeration PVs has been improved.

r3.5.1

Release date: 9th July 2017.

The main change for this release is that the QEPlugin library has been split the into two distinct libraries which are:

Both libraries are part of the the qeframework repository, with QEFramework built from the qeframeworkSup application and the QEPlugin library built from the new qepluginApp application. Using linux-x86_64 as an example EPICS host architecture the libraries are built and installed into:

<top>/lib/linux-x86_64/libQEFramework.so
<top>/lib/linux-x86_64/designer/libQEPlugin.so

This means that QT_PLUGIN_PATH need not change as the plugin library is installed into a directory called designer (as was previously “faked” by use of a symbolic link). When linking application building using the framework library need to reference QEFramework as opposed to QEPlugin.

Because the qepluginApp build uses the qeframeworkSup, the following has been added to the qeframework configure/RELEASE file:

QE_FRAMEWORK=...

This needs to be configured to point to the qeframeworkSup top directory. Unfortunately one cannot say QE_FRAMEWORK=$(TOP). Please see comments in configure/RELEASE.

There have also been a number of other changes to qegui and qegramework since release r3.4.3 as outlined below. Apart from referencing the QEFramework library there have been no other changes to qeByteArrayTest, qeMonitor, qeReadArchive etc.

qegui

For windows - if the main window is off screen, then re-position windows to position (0,0).

Introduced an independent font scaling capability. Use the -f options. Run qegui -h for details.

qeframework

QEConfiguredLayout, QEFileBrowser, QELog, QERecipe, QEScript

Modified QEConfiguredLayout, QEFileBrowser, QELog, QERecipe, QEScript to scope local enumeration definitions so that they don’t clash if two or more headers are used in same compilation unit.

FFmpeg

mpeg - more version related conditional compilation.

framework project file

Added $$(EPICS_BASE)/include/compiler/msvc to the include path and for windows defined EPICS_CALL_DLL when compiling the QE framework.

plugin icons

Updated some of the EPICS aware widget designer icons to be distinct from non EPICS aware counter parts.

QEPvProperties

QEPvProperties - ensured correct field referenced when fields are sorted. Also added RMOD, ADEL, MDEL, ALST, MLST and SYNC fields to the built in motor record field list.

QEPlotter and QEStripChart

Save, set and restore all line styles when drawing graphic markups.

String Formatting

Add forceSign boolean property to widgets using string formatting, the default value is false.

Font Scaling

Introduced independent font scaling functionality.

QEPVLoadSave

Ensure all array elements are of the same and a suitable type before writing to the channel.

windowCustomisation

Include a QAction object as opposed to inheriting from QAction. This is to support running on MAC OS.

QEPlot

Remove outward dependency on QWT, so that plugin library build does not need to include QWT header files, and do a general tidy up. Also inherit from QEFrame in order to provides the standard properties.

r3.4.3

Release date: 5th June 2017.

This release basically consolidates the transition from SourceForge to GitHub, and also accommodates the support of headless builds (on Windows). However, it also includes a major bug fix and a number of minor functional changes.

These are:

r3.4.2

Release date: 29th April 2017.

This is initial release at GitHub. This is functionally equivalent to the last SourceForge release despite the overall restructure.

Earlier Releases

Refer to SourceForge for all history prior to release r.3.4.2 as the SourceForge history was not been transferred to GitHub.

Last updated: Fri Nov 8 11:27:05 AEDT 2019