Set the slider value, scaling it from a float to the internal integer.
(self, value)
| 1007 | # return super().value() |
| 1008 | |
| 1009 | def setValue(self, value): |
| 1010 | """Set the slider value, scaling it from a float to the internal integer.""" |
| 1011 | super().setValue(int(value)) |
| 1012 | if self.line_edit: |
| 1013 | self.line_edit.set_value(int(value)) # Aggiorna immediatamente il valore nel line edit |
| 1014 | |
| 1015 | def wheelEvent(self, event): |
| 1016 | """Override wheel event to define custom increments/decrements with the mouse wheel.""" |
no test coverage detected