I have placed some QCheckBox in horizontal layout (or in grid layout).
QCheckBox
The desired output is something like below (to get this output I have adde