ColormapIntesityControlFull

Module for ColormapIntesityControlFull

class pcdswidgets.imaging.common.colormap_intesity_control_full.ColormapIntesityControlFull(parent: QWidget | None = None)[source]
eventFilter(self, a0: Optional[QObject], a1: Optional[QEvent]) → bool[source]
get_levels() → tuple[float, float][source]

Return the histogram’s current (min, max) color-map levels, for persistence.

get_view_saver_properties() → dict[source]

Resolved ViewSaver getter/setter pairs for this widget’s saved state.

getter returns a QSettings-storable value setter accepts and applies raw stored value

Connect this config widget to a PyDMImageView.

Called by the parent widget at adoption time. Links the histogram to the image item and syncs the UI state to current image settings.

If the parent also carries a secondary_image_view, colormap, normalization, and level changes are mirrored onto it too, so both views always share the same appearance. The histogram itself stays bound only to the primary view.

set_levels(mn: float, mx: float) → None[source]

Apply a previously-saved (min, max) level pair.