Compare commits

...

2 Commits

Author SHA1 Message Date
Talley Lambert
c9e8a8cdd3 Merge f30b92583a into 9ca0bbf858 2024-05-05 12:26:33 +00:00
Talley Lambert
f30b92583a fix hint 2024-05-05 08:26:29 -04:00
2 changed files with 3 additions and 3 deletions

View File

@@ -103,7 +103,7 @@ class _GenericRangeSlider(_GenericSlider):
"""Show the bar between the first and last handle."""
self.setBarVisible(True)
def applyMacStylePatch(self) -> str:
def applyMacStylePatch(self) -> None:
"""Apply a QSS patch to fix sliders on macos>=12 with QT < 6.
see [FAQ](../faq.md#sliders-not-dragging-properly-on-macos-12) for more details.
@@ -127,7 +127,7 @@ class _GenericRangeSlider(_GenericSlider):
def setSliderPosition( # type: ignore
self,
pos: Union[float, Sequence[float]],
index: int | None = None,
index: Optional[int] = None,
*,
reversed: bool = False,
) -> None:

View File

@@ -99,7 +99,7 @@ class _GenericSlider(QSlider):
if USE_MAC_SLIDER_PATCH:
self.applyMacStylePatch()
def applyMacStylePatch(self) -> str:
def applyMacStylePatch(self) -> None:
"""Apply a QSS patch to fix sliders on macos>=12 with QT < 6.
see [FAQ](../faq.md#sliders-not-dragging-properly-on-macos-12) for more details.