PyQt5 – Stop checking in CheckBox Last Updated : 28 Apr, 2025 Comments Improve Suggest changes Like Article Like Report In this article we will see how to stop the check box to get checked. Sometimes, while creating forms there is a need to stop the check box to get checked. In order to this we have to use setCheckable method and set it to False, this will stop the button to get checked. Syntax : checkbox.setCheckable(False) Argument : It takes bool as argument. Action performed : It will stop the check box to get checked. Below is the implementation. Python3 # importing libraries from PyQt5.QtWidgets import * from PyQt5 import QtCore, QtGui from PyQt5.QtGui import * from PyQt5.QtCore import * import sys class Window(QMainWindow): def __init__(self): super().__init__() # setting title self.setWindowTitle("Python ") # setting geometry self.setGeometry(100, 100, 600, 400) # calling method self.UiComponents() # showing all the widgets self.show() # method for widgets def UiComponents(self): # creating the check-box checkbox = QCheckBox('Geek ?', self) # setting geometry of check box checkbox.setGeometry(200, 150, 100, 40) # stopping check box to get checked checkbox.setCheckable(False) # create pyqt5 app App = QApplication(sys.argv) # create the instance of our Window window = Window() # start the app sys.exit(App.exec()) Output : Comment More infoAdvertise with us Next Article PyQt5 – Stop checking in CheckBox R rakshitarora Follow Improve Article Tags : Python Python-PyQt Python-gui Practice Tags : python Similar Reads PyQt5 - Skin in Check Box In this article we will see how to set a skin to a check box. Skin is also a type of background image but it adjust itself according to the size of check box. Below is the representation of the background image check box vs check box with skin. In order to do this we have to change the style sheet 2 min read PyQt5 - Image in Check Box In this article we will see how to set background image to check box. When we create a check box there is no image associated to it although we can set background color to it. Below is the representation of normal check box vs the check box which has image. In order to do this we have to set backgro 2 min read PyQt5 â Set Icon for Check Box In this article we will see about how to set icon to a check box. Setting icon to a check box is similar to setting icon to a main window, icon of check box appear in between the indicator and the check box it self below is how normal check box vs check box with icon looks like. In order to do this 2 min read PyQt5 - Skin to checked check box In this article we will see how we can set skin to the check box when it is in checked state, by default there is no image associated to the check box. Skin is basically a background image who adjust it self according to the size of the check box. In order to add skin to checked state check box we h 2 min read PyQt5 - Tri-state Check Box When we create a check box, by default there are two state which are either checked i.e True and other is False. But we can add third state to it which is neither True or False with the help of setTristate method. Below is how all three states looks like. Syntax : checkbox.setTristate(True) Argument 1 min read Like