Skip to content
This repository has been archived by the owner on Jun 28, 2021. It is now read-only.

QLabeledRangeSlider does not support methods using the bar #19

Closed
TheZappie opened this issue Jun 15, 2021 · 2 comments
Closed

QLabeledRangeSlider does not support methods using the bar #19

TheZappie opened this issue Jun 15, 2021 · 2 comments

Comments

@TheZappie
Copy link

QLabeledRangeSlider does not seem to support methods using the bar, while there is a bar present. Feature request: support bar methods such as setBarIsVisible, setBarMovesAllHandles and setBarIsRigid.

Code:
a = QLabeledRangeSlider()
a.hideBar()
Traceback (most recent call last):
File "", line 1, in
a.hideBar()
AttributeError: 'QLabeledRangeSlider' object has no attribute 'hideBar'

Amazing package by the way!

@tlambert03
Copy link
Owner

Thanks! Yeah, the labeled variants are not behaving as good wrappers. Thank you for the bug report.

As a temporary workaround, you can access the "actual" range slider at a._slider (in your example). Shouldn't have to do that... but until I fix it.

@tlambert03
Copy link
Owner

hi @OMGSuperZappie ... the content of this package is moving to superqt... so I'm moving this issue there

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants