Skip to content

Consider adding QSpinBox API to QLabeledSlider #291

@gselzer

Description

@gselzer

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions