PyQt5 – Skin to unchecked check box Last Updated : 28 Apr, 2025 Comments Improve Suggest changes Like Article Like Report In this article we will see how we can set skin to the check box when it is in unchecked 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 unchecked state check box we have to change the style sheet code, below is the style sheet code. QCheckBox::unchecked { border-image : url(image.png) } 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 checkbox1 = QCheckBox('Geek ?', self) # setting geometry of check box checkbox1.setGeometry(200, 150, 100, 40) # setting tri-state check box checkbox1.setTristate(True) # changing style sheet code of check box # adding skin to unchecked check box checkbox1.setStyleSheet("QCheckBox::unchecked" "{" "border-image : url(image.png);" "}") # 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 – Skin to unchecked check box R rakshitarora Follow Improve Article Tags : Python Python-PyQt Python-gui Practice Tags : python Similar Reads PyQt5 â Set skin to unchecked indicator of Check box In this article we will see how to set skin to the checkbox when it is in unchecked state. By default no symbol is placed for the unchecked indicator although we can change it in-place of image. Skin is basically background image which can adjust it self according to the size of indicator of check b 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 â Set Skin to unchecked CheckBox when pressed In this article we will see how to set skin to check box when it is already in unchecked state and when it get pressed. By default there is no skin associated to the check box, skin is basically background image that can adjust it self according to the size of check box. In order to do add skin to t 2 min read PyQt5 â Set skin to unchecked CheckBox when pressed In this article we will see how we can set skin to the indicator of the check box who is in unchecked state and get pressed. This skin only appear when check box get pressed and its state was unchecked. In order to add skin to the indicator when check box is in unchecked state and get pressed we hav 2 min read 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 Like