May 2019
Intermediate to advanced
542 pages
13h 37m
English
Create a new file called calendar_form.py by copying the application template from Chapter 1, Getting Started with PyQt.
Then we'll configure our main window; in the MainWindow constructor, begin with this code:
self.setWindowTitle("My Calendar App") self.resize(800, 600)
This code will set our window title to something appropriate and set a fixed size for our window of 800 x 600. Note that this is just the initial size, and the user will be able to resize the form if they wish to.
Read now
Unlock full access