Add tickmarksEnabled variable.
Diff Detail
- Repository
- R242 Plasma Framework (Library)
- Branch
- slider (branched from master)
- Lint
No Linters Available - Unit
No Unit Test Coverage - Build Status
Buildable 21290 Build 21308: arc lint + arc unit
Added to disable tickmarks, in battery's keyboard brightness control. (Related patch not ready yet)
We've previously avoided adding any API to PC3 so it can be used as a Qqc2-style.
Is there a way to achieve this with the existing qqc2 API?
You should only see them if you have very a few discrete number of steps. Can you show a screenshot of what you see that you don't like?
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.