Experimental Physics and
| |||||||||||||||||
|
Hi Rute, By pvview.py do you mean this project here: https://github.com/BCDA-APS/pvview ? The alarm information will be visually available if you use the following at your application: from pydm.utilities.stylesheet import apply_stylesheet apply_stylesheet(None, my_display) In which None will make it load the PyDM default stylesheet and my_display is your widget or QApplication in which the stylesheet will be applied and cascaded to child widgets. You get the behavior via PyDM launcher as it does that for you but since you are using it at your own application it is missing the stylesheet to display the alarm at the widgets. You can have your own stylesheet defining how the widgets should look like based on Alarm. Here is the default stylesheet as an example: https://github.com/slaclab/pydm/blob/master/pydm/default_stylesheet.qss Please let me know if that works for you. Cheers, Hugo On Fri, Mar 13, 2020 at 12:06 PM Rute Mendes via Tech-talk <tech-talk at aps.anl.gov> wrote:
| ||||||||||||||||
ANJ, 15 Mar 2020 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |