Switch and Checkbox items

Marco Martin notmart at gmail.com
Thu Dec 13 15:52:20 UTC 2012


On Thursday 13 December 2012, Aaron J. Seigo wrote:

> * implement Switch in the desktop components as a checkbox.
> 
> Pros: this is very easy to do (API compatible; just need to move Switch.qml
> to touch components and make a new Switch.qml in the default desktop
> components that simply creates a Checkbox); people can use Switch if they
> want and things remain consistent
> 
> Cons: it means you can never have a Switch element on a desktop app, even
> if you really want to (and use Checkboxes elsewhere in your UI). however,
> this is perhaps a weak con, as it implies there is a valid use case for
> switches on the desktop. as we've lived without them until now ... perhaps
> there aren't.


yes, i think making switch a checkbox on the desktop makes sense.

would make sense the other way around as well? (checkboxes as switch on touch) 
probably not i guess...

-- 
Marco Martin


More information about the Plasma-devel mailing list