PyQt5 QCalendarWidget - Background Image to the QWidget Child
Last Updated : 21 Jun, 2020
In this article we will see how we can set background color to the QWidget child of the QCalendarWidget. In calendar QWidget is the child which control the maximum part of the whole widget, setting background color to QCalendarWidget is not like setting background color to the other widgets, calendar is widget which has many child i.e component we can set border to independent component as well.
In order to do this we will use setStyleSheet method with the QCalendarWidget object, below is the style sheet code