Add tickmarksEnabled variable.
My case would be solved with stepCount > 1. But AFAIK there are keyboards with 3-4 steps.
Is there a way to achieve this with the existing qqc2 API?
Not that I know. And need moved signal from it.
edit: With recent change to Components 3, Need 33.3 rotations to change from minimum to maximum brightness. I mention this because in qquickslider.cpp step comes from stepSize without limiting the amount, as in qqc1.
But this means that for your keyboard it's either on or off, right?
This is what it looks for me. The screen has hundreds of steps so it shows nothing, for the keyboard it has a middle step so it's shown below. I don't think it should be removed.
Maybe the weird bit from your system is that it should be a checkbox for you?
Closing, when there are few steps, should be marked.
...should be a checkbox for you?
That's good idea.
I 'll try to add a checkbox when a keyboard is on/off only.
Not sure how it would look.