pyqt_reactive.widgets.no_scroll_spinbox
No-scroll spinbox widgets for PyQt6.
Prevents accidental value changes from mouse wheel events.
Classes
|
ComboBox that ignores wheel events to prevent accidental value changes. |
|
DoubleSpinBox that ignores wheel events to prevent accidental value changes. |
|
SpinBox that ignores wheel events to prevent accidental value changes. |
|
QCheckBox that supports None state for lazy dataclass contexts. |
- class pyqt_reactive.widgets.no_scroll_spinbox.NoScrollSpinBox(parent=None)[source]
SpinBox that ignores wheel events to prevent accidental value changes.
Inherits from SpinBoxAdapter which already implements ValueGettable/ValueSettable ABCs.
- class pyqt_reactive.widgets.no_scroll_spinbox.NoScrollDoubleSpinBox(parent=None)[source]
DoubleSpinBox that ignores wheel events to prevent accidental value changes.
Inherits from DoubleSpinBoxAdapter which already implements ValueGettable/ValueSettable ABCs.
- class pyqt_reactive.widgets.no_scroll_spinbox.NoScrollComboBox(parent=None, placeholder='')[source]
ComboBox that ignores wheel events to prevent accidental value changes.
Inherits from ComboBoxAdapter which already implements ValueGettable/ValueSettable ABCs. Supports placeholder text when currentIndex == -1 (for None values).