PyQt5 – Indicator Skin of Check Box Last Updated : 22 Apr, 2020 Summarize Comments Improve Suggest changes Share Like Article Like Report In this article we will see how to set skin to the indicator of the check box. Unlike background image skin adjust it self to the size of the indicator. Below is the representation of the indicator with background image and indicator with skin. In order to do this we have to change the style sheet code of the indicator which is used with the check box object, below is the style sheet code. QCheckBox::indicator { border-image : url(image.png); } Below is the implementation. Python3 1== # 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) # setting stylesheet # adding skin to indicator of check box # changing width and height of indicator checkbox.setStyleSheet("QCheckBox::indicator" "{" "border-image : url(image.png);" "width :40px;" "height :40px;" "}") # 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 checked indicator of Check box R rakshitarora Follow Improve Article Tags : Python Python-PyQt Python-gui Practice Tags : python Similar Reads PyQt5 - Skin to checked indicator of Check box In this article we will see how see how we can set skin to the checkbox when it is in checked state. By default a tick symbol is placed for the checked 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 indicato 2 min read PyQt5 - Image Indicator of Check Box Check box is basically divided into two components one is the indicator which is on the left side by default and other is the check box itself i.e the label part which has text on it. In this article we will see how to set image to a indicator. Below is the representation of normal indicator of chec 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 PyQt5 - Indicator border of Check Box In this article we will see how to set the border to indicator of check box, although by default indicator has its own border but we can edit it also, we can change the size and color of the border. In order to do so we have to change the style sheet code with the help of setStyleSheet method, below 1 min read 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 â Round indicator of CheckBox In this article we will see how to create round indicator of check box. By default, check box have square indicator although with the help of style sheet we can change it make it round. Below is the representation of normal indicator vs the round indicator of check box. In order to do this we have t 2 min read Like