PyQt5 – Check Box with Indicator at right side
In this article we will see how to set the indicator to the right of check box. Check box basically have two components first is indicator and other is the label by default indicator is at the left hand side. In order to make the indicator at the right hand side we have to change its layout direction from left to right side.
In order to do this we will use
Syntax : checkbox.setLayoutDirection(Qt.RightToLeft)
Argument : It takes Qt object as argument.
Action performed : It will change the layout of check box.
Below is the implementation.