Consider a slider wrapping a percentage value. If you want to add % as a suffix on the label, you have to access the private _label field.
Of course, for something like a QLabeledDoubleRangeSlider, there are 4 different labels that then have to be edited.
I think it'd be great if the QLabeledSlider had the API for this.
Happy to file a PR if people like the idea.
Consider a slider wrapping a percentage value. If you want to add
%as a suffix on the label, you have to access the private_labelfield.Of course, for something like a
QLabeledDoubleRangeSlider, there are 4 different labels that then have to be edited.I think it'd be great if the
QLabeledSliderhad the API for this.Happy to file a PR if people like the idea.