Slider.setMaximumSize

Slider.setMaximumSize(self, arg__1: PySide6.QtCore.QSize) None
Slider.setMaximumSize(self, maxw: int, maxh: int) None