MCPcopy Create free account
hub / github.com/NSLS2/PyXRF / le_max_value_editing_finished

Method le_max_value_editing_finished

pyxrf/gui_module/useful_widgets.py:604–609  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

602 self._max_value_validate(text)
603
604 def le_max_value_editing_finished(self):
605 # We don't set validator, so this method is called each time QLineEdit
606 # is losing focus or Enter is pressed
607 val = self.le_max_value.text() if self._max_value_validate() else self._value_high
608 if self._accept_value_high(val):
609 self.emit_selection_changed()
610
611 def sld_min_value_value_changed(self, n_steps):
612 # Invert the reading for 'min' slider

Callers

nothing calls this directly

Calls 3

_max_value_validateMethod · 0.95
_accept_value_highMethod · 0.95

Tested by

no test coverage detected