Widget Catalog

This page has names and images of the most useful widgets provided by qt and pydm and all the widgets provided by pcdswidgets.

It is intended to be used as a first-pass reference for users trying to understand which widgets should be used in a screen.

It will contain links to each widget’s dedicated documentation page.

Frequently Used Widget Classes:

Display / read-only output

Widget Name

Class

Function

Example

Label

QLabel

Static text/image label such as captions, titles, field names,
and other non-interactive display text.
_images/qlabel.png

PyDMLabel

PyDMLabel

Live read-only display of an EPICS PV value (numbers, strings,
enums), optionally formatted with units/precision
_images/pydm_label.png

PyDMByteIndicator

PyDMLabel

Displays individual bits of an integer PV as colored indicators
useful as status/alarm bit flags.
_images/pydm_byte_indicator.png

Input / control (write to PV)

Widget Name

Class

Function

Example

PyDMPushButton

PyDMPushButton

Button that writes a fixed/preset value to a PV when clicked
(e.g. open, close, set, reset).
_images/pydm_push_button.png

PyDMLineEdit

PyDMLineEdit

Editable text field for reading and writing a PV value. A user types a setpoint and it’s written to the PV.

_images/pydm_line_edit.png

PyDMShellCommand

PyDMShellCommand

Button that executes a linked bash shell command.

_images/pydm_shell_command.png

Plots

Widget Name

Class

Function

Example

PyDMTimePlot

PyDMTimePlot

Plot a PV as a function of time.

_images/pydm_time_plot.png

PyDMScatterPlot

PyDMScatterPlot

Plot a PV as a function of another PV in a scatter plot.

_images/pydm_scatter_plot.png

Layout / structure

Widget Name

Class

Function

Example

Vertical Layout

QVBoxLayout

Vertical layout manager — arranges child widgets top-to-bottom.

_images/qvbox_layout.png

Horizontal Layout

QHBoxLayout

Horizontal layout manager — arranges child widgets left-to-right.

_images/qhbox_layout.png

Grid Layout

QGridLayout

Grid layout manager — arranges child widgets in rows and columns.

_images/qgrid_layout.png

Containers

Widget Name

Class

Function

Example

PyDMEmbeddedDisplay

PyDMEmbeddedDisplay

Embeds another .ui screen inside the current one, typically
with macros — enables reusable sub-panels and templated rows.

N/a

Composite Widget Templates:

Common

Dock: pcdswidgets/common/dock

Widget

Function

Example

IndicatorGrid

Standalone implementation of the classic “lucid” grid.

_images/indicator_grid.png

TabDock

Standalone implementation of the “lucid” tabbed dock.

_images/tab_dock.png

TabDockButton

Opens a screen in the TabDock.

_images/tab_dock_button.png

TabDockDiagramButton

Displays a beamline schematic component, and opens a screen in
the TabDock
_images/tab_dock_diagram_button.png

Toolbar: pcdswidgets/common/toolbar

Widget

Function

Example

YamlToolbar

Standalone implementation of the classic “lucid” toolbar.
Loads related display, script, and dock buttons from a yaml
config.
_images/yaml_toolbar.png

Tools: pcdswidgets/common/tools

Widget

Function

Example

FeatureFinder

Generic “scanner” application to optimize signal.

_images/feature_finder.png

ViewSaver

A Tool for adding persistence to screens (the view state is
saved to a file, and recovered on reload). Add this widget
container to your project and any widget that is supported
will automatically be saved. In designer you can opt-out
specific widgets and set a dir/file path for the save file.
NOTE: widget is invisible at runtime (border goes away).
_images/view_saver.png

Imaging

Common: pcdswidgets/ui/imaging/common

Widget

Function

Example

AcquisitionControlFull

A panel for controlling camera acquisition, including
starting/stopping acquisition and setting the capture mode.

N/a

CameraViewerStretch

Top-level camera viewer that displays the live image alongside a
sidebar of collapsible control panels. Acts as a container: any
widget dropped here is automatically adopted into the sidebar on
first show. Note that most imaging widgets will automatically
connect to the camera preview.
_images/camera_viewer_stretch.png

CentroidTrackerFull

N/a

N/a

ColormapIntesityControlFull

A panel for selecting the colormap and adjusting image intensity
levels via a histogram.

N/a

EpicsRoiFull

A panel for drawing, moving, and locking a region-of-interest box that syncs its geometry to EPICS PVs.

_images/epics_roi_full.png

ExposureTimingControlFull

A panel for adjusting exposure time and acquisition timing/rate.

N/a

MarkerSelectionFull

A widget for placing and configuring up to four crosshair markers
(position, color, style, visibility) on the camera viewer image.
_images/marker_selection_full.png

Motion

Common: pcdswidgets/ui/motion/common

Widget

Function

Example

MotorBeckhoffSlits

Motor control for Beckhoff slits to control slit center position
and gap.
_images/motor_beckhoff_slits.png

MotorClassicFull

Classic full layout for IMS, Beckhoff, or SmarAct motor control.
Define “motor_type” for full functionality.
_images/motor_classic_full.png

MotorClassicRow

Classic row layout for IMS, Beckhoff, or SmarAct motor control.
Define “motor_type” for full functionality.
_images/motor_classic_row.png

MotorClassicVert

Classic vertical layout for IMS, Beckhoff, or SmarAct motor
control.
Define “motor_type” for full functionality.
_images/motor_classic_vert.png

MotorStateMover

State mover motor control

_images/motor_state_mover.png

MotorStateMoverExpanded

N/a

N/a

MotorStateMoverExpandedPMPS

N/a

N/a

MotorTcClassicRow

Classic row layout for IMS, Beckhoff, or SmarAct motor control
including motor temperature interlock
_images/motor_classic_row.png

MotorTipTiltDouble

Tip/tilt motion control for two motors. Set “motor_style” to
drive standard motor record or SmarAct step fields.
_images/motor_tip_tilt_double.png

MotorTipTiltFull

Full tip/tilt motion control layout. Set “motor_style” to
drive standard motor record or SmarAct step fields.
_images/motor_tip_tilt_full.png

SvgMultiStateLED

N/a

N/a

Expert: pcdswidgets/ui/motion/expert

Widget

Function

Example

MotorExpertScreenBeckhoff

Expert configuration options for Beckhoff motors.

_images/motor_expert_screen_beckhoff.png

SmarAct: pcdswidgets/ui/motion/smaract

Widget

Function

Example

SmaractOpenLoopClassicRow

N/a

N/a

SmaractOpenLoopContextDouble

SmarAct detailed motion control

_images/smaract_open_loop_context_double.png