arboretum/layers/tracks/qt_tracks_layer.py
def _on_edge_width_change(self, event=None):
        """Receive layer model edge line width change event and update slider.

        Parameters
        ----------
        event : qtpy.QtCore.QEvent, optional.
            Event from the Qt context, by default None.
        """
        with self.layer.events.edge_width.blocker():
            value = self.layer.edge_width
            value = np.clip(int(2 * value), 1, MAX_TAIL_WIDTH)
            self.edge_width_slider.setValue(value)
Receive layer model edge line width change event and update slider.

        Parameters
        ----------
        event : qtpy.QtCore.QEvent, optional.
            Event from the Qt context, by default None.
        
Receive layer model edge line width change event and update slider.
Parameters


Receive layer model edge line width change event and update slider . Parameters
def _on_edge_width_change(self, event=None):
        with self.layer.events.edge_width.blocker():
            value = self.layer.edge_width
            value = np.clip(int(2 * value), 1, MAX_TAIL_WIDTH)
            self.edge_width_slider.setValue(value)
def _on_edge_width_change ( self , event = None ) : with self . layer . events . edge_width . blocker ( ) : value = self . layer . edge_width value = np . clip ( int ( 2 * value ) , 1 , MAX_TAIL_WIDTH ) self . edge_width_slider . setValue ( value )
Receive layer model edge line width change event and update slider.
Receive layer model edge line width change event and update slider .
"""Receive layer model edge line width change event and update slider.

        Parameters
        ----------
        event : qtpy.QtCore.QEvent, optional.
            Event from the Qt context, by default None.
        """
self
event