Draw the entire CheckBox control via the QStyle
Instead of doing the layout ourselves just let everything be done by the style. This also ensures the order and position of the different parts is exactly the same. Additionally respect the icon property of a CheckBox.
Showing with 113 additions and 36 deletions