PyQt5 QCalendarWidget - Setting Visible Property Status Last Updated : 19 Dec, 2022 Summarize Comments Improve Suggest changes Share Like Article Like Report In this article we will see how we can make QCalendarWidget visible and invisible, by making the visible property False we can make it invisible. We can make it visible with the help of show method but this method will not make it invisible therefore we use visible property that can do both. In order to do this we will use setVisible method with the QCalendarWidget object.Syntax : calendar.setVisible(False)Argument : It takes bool as argumentReturn : It returns None 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 components def UiComponents(self): # creating a QCalendarWidget object calendar = QCalendarWidget(self) # setting geometry to the calendar calendar.setGeometry(10, 10, 400, 250) # setting visible property calendar.setVisible(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 QCalendarWidget - Setting Tablet Tracking Property R rakshitarora Follow Improve Article Tags : Python Python-PyQt Python-gui Python PyQt-QCalendarWidget Practice Tags : python Similar Reads PyQt5 QCalendarWidget - Setting Property In this article we will see how we can set properties information to the QCalendarWidget, properties are the information added by the developer to tell about the properties of the calendar, for example if calendar has a blocked future date, developer will add this property so that other developer ca 2 min read PyQt5 QCalendarWidget - Setting Tablet Tracking Property In this article we will see how we can set the tablet tracking property to the QCalendarWidget. If tablet tracking is disabled (the default), the calendar only receives tablet move events when the stylus is in contact with the tablet, or at least one stylus button is pressed, while the stylus is bei 2 min read PyQt5 QCalendarWidget - Setting Mouse Tracking Property In this article we will see how we can set mouse tracking property to the QCalendarWidget. If mouse tracking is disabled (the default), the calendar will only receive mouse move events when at least one mouse button is pressed while the mouse is being moved. If mouse tracking is enabled, the calenda 1 min read PyQt5 QCalendarWidget -Setting name property In this article we will see how we can set the name property of the QCalendarWidget.Name property hold the name of the calendar, name is used to distinguish the calendar with each other i.e categorize them according to the use, for example, birth calendar, booking calendar etc. In order to do this w 1 min read PyQt5 QCalendarWidget - Setting Title In this article we will see how we can set title to the QCalendarWidget. Title basically is caption of the QCalendarWidget, caption is basically the name or little hint about the calendar. In order to do this we will use setWindowTitle method with the QCalendarWidget object.Syntax : calendar.setWin 1 min read PyQt5 QCalendarWidget - Setting Size Increment In this article we will see how we can set the size increment to the QCalendarWidget. Size increment is used when calendar size is changeable with the change main window size.By default, for a newly-created calendar, this property contains a size with zero width and height. Note : The size increment 2 min read Like