Pumps

Ion Pump

class pcdswidgets.vacuum.pumps.IonPump(parent=None, **kwargs)[source]

A Symbol Widget representing an Ion Pump 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 widget containing the pressure readback.

Additional Properties

Property

Values

interlocked

true or false

error

true or false

state

On, Off

Examples

IonPump[interlocked="true"] #interlock {
    border: 5px solid red;
}
IonPump[interlocked="false"] #interlock {
    border: 0px;
}
IonPump[error="true"] #icon {
    qproperty-penStyle: "Qt::DotLine";
    qproperty-penWidth: 2;
    qproperty-brush: red;
}
IonPump[state="On"] #icon {
    qproperty-penColor: green;
    qproperty-penWidth: 2;
}
sizeHint()[source]

Suggested initial size for the widget.

Returns:

size

Return type:

QSize

Turbo Pump

class pcdswidgets.vacuum.pumps.TurboPump(parent=None, **kwargs)[source]

A Symbol Widget representing a Turbo Pump 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.

Additional Properties

Property

Values

interlocked

true or false

error

true or false

state

On, Accelerating or Off

Examples

TurboPump[interlocked="true"] #interlock {
    border: 5px solid red;
}
TurboPump[interlocked="false"] #interlock {
    border: 0px;
}
TurboPump[error="true"] #icon {
    qproperty-penStyle: "Qt::DotLine";
    qproperty-penWidth: 2;
    qproperty-brush: red;
}
TurboPump[state="Accelerating"] #icon {
    qproperty-centerBrush: red;
}
sizeHint()[source]

Suggested initial size for the widget.

Returns:

size

Return type:

QSize

Scroll Pump

class pcdswidgets.vacuum.pumps.ScrollPump(parent=None, **kwargs)[source]

A Symbol Widget representing a Scroll Pump 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.

Additional Properties

Property

Values

interlocked

true or false

error

true or false

state

On, Accelerating or Off

Examples

ScrollPump[interlocked="true"] #interlock {
    border: 5px solid red;
}
ScrollPump[interlocked="false"] #interlock {
    border: 0px;
}
ScrollPump[error="true"] #icon {
    qproperty-penStyle: "Qt::DotLine";
    qproperty-penWidth: 2;
    qproperty-brush: red;
}
ScrollPump[state="Accelerating"] #icon {
    qproperty-centerBrush: red;
}
sizeHint()[source]

Suggested initial size for the widget.

Returns:

size

Return type:

QSize

Getter Pump

class pcdswidgets.vacuum.pumps.GetterPump(parent=None, **kwargs)[source]

A Symbol Widget representing a Getter Pump with the proper icon.

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.

channelsPrefix
controlsLocation
showIcon
sizeHint()[source]

Suggested initial size for the widget.

Returns:

size

Return type:

QSize