Gauges
Rough Gauge
- class pcdswidgets.vacuum.gauges.RoughGauge(parent=None, **kwargs)[source]
A Symbol Widget representing a Rough Gauge with the proper icon and controls.
- Parameters:
parent (QWidget) – The parent widget for the symbol
Notes
This widget allow for high customization through the Qt Stylesheets mechanism. As this widget is composed by internal widgets, their names can be used as selectors when writing your stylesheet to be used with this widget. Properties are also available to offer wider customization possibilities.
Internal Components
Widget Name
Type
What is it?
controls
QFrame
The QFrame wrapping the controls panel.
icon
BaseSymbolIcon
The widget containing the icon drawing.
pressure
PyDMLabel
The pressure reading label.
Additional Properties
Property
Values
state
On or Off
Examples
RoughGauge[state="Off"] { qproperty-brush: red; color: gray; } RoughGauge[state="On"] { qproperty-brush: green; color: black; }
Hot Cathode Gauge
- class pcdswidgets.vacuum.gauges.HotCathodeGauge(parent=None, **kwargs)[source]
A Symbol Widget representing a Hot Cathode Gauge with the proper icon and controls.
- Parameters:
parent (QWidget) – The parent widget for the symbol
Notes
This widget allow for high customization through the Qt Stylesheets mechanism. As this widget is composed by internal widgets, their names can be used as selectors when writing your stylesheet to be used with this widget. Properties are also available to offer wider customization possibilities.
Internal Components
Widget Name
Type
What is it?
interlock
QFrame
The QFrame wrapping this whole widget.
controls
QFrame
The QFrame wrapping the controls panel.
icon
BaseSymbolIcon
The widget containing the icon drawing.
pressure
PyDMLabel
The pressure reading label.
Additional Properties
Property
Values
interlocked
true or false
state
On, Off, Starting or Error
Examples
HotCathodeGauge[interlocked="true"] #interlock { border: 5px solid red; } HotCathodeGauge[interlocked="false"] #interlock { border: 0px; } HotCathodeGauge[state="Error"] #icon { qproperty-penColor: red; qproperty-penWidth: 2; }
Cold Cathode Gauge
- class pcdswidgets.vacuum.gauges.ColdCathodeGauge(parent=None, **kwargs)[source]
A Symbol Widget representing a Cold Cathode Gauge with the proper icon and controls.
- Parameters:
parent (QWidget) – The parent widget for the symbol
Notes
This widget allow for high customization through the Qt Stylesheets mechanism. As this widget is composed by internal widgets, their names can be used as selectors when writing your stylesheet to be used with this widget. Properties are also available to offer wider customization possibilities.
Internal Components
Widget Name
Type
What is it?
interlock
QFrame
The QFrame wrapping this whole widget.
controls
QFrame
The QFrame wrapping the controls panel.
icon
BaseSymbolIcon
The widget containing the icon drawing.
pressure
PyDMLabel
The pressure reading label.
Additional Properties
Property
Values
interlocked
true or false
state
On, Off, Starting or Error
Examples
ColdCathodeGauge[interlocked="true"] #interlock { border: 5px solid red; } ColdCathodeGauge[interlocked="false"] #interlock { border: 0px; } ColdCathodeGauge[state="Error"] #icon { qproperty-penColor: red; qproperty-penWidth: 2; }