Switch control extracted from CheckBox

Change-Id: I6502a79da22130c14404fce217143b19dbee4796
Reviewed-by: Witold Wysota <wysota@qtcentre.org>
Reviewed-by: Tomasz Olszak <olszak.tomasz@gmail.com>