Slider.setForegroundRole Slider.setForegroundRole(self, arg__1: PySide6.QtGui.QPalette.ColorRole) → None