PyQt5 – isLeftToRight() method for Check Box
When we create a check box by default indicator is at left hand side which we call as left to right direction although we can change its direction using
isLeftToRight method is used to check if the layout direction is from left to right or not, it returns True for the default layout direction. It is opposite of
Syntax : checkbox.isLeftToRight()
Argument : It takes no argument.
Return : It returns bool, True if layout direction is left to right else False.
Below is the implementation
Before changing direction : True After changing direction : False