In the preceding section, we created the appearance of our main-window-style application and provided its behavioral infrastructure by creating a set of actions. We also saw how to save and restore application settings, and how to manage a recently used files list.
Some of an application's behavior is automatically handled by PyQt—for example, window minimizing, maximizing, and resizing—so we do not have to do this ourselves. Some other behaviors can be implemented purely through signals and slots connections. In this section we are concerned with the actions that are directly under the control of the user and which can be used to view, edit, and output, their data.
Was this article helpful?