Graphics Reference
In-Depth Information
Defining the toolbar icons
There are a total of 11 toolbar actions that we will want to display icons for:
Feel free to create or download your own icons for these toolbar actions, or you can use the
icon files included in the source code provided with this chapter. The file format isn't im-
portant, just as long as you include the right suffix in the resoures.qrc file, and in
ui_mainWindow.py when the toolbar action is initialized.
Make sure you place these files into the resources subdirectory, and run make to build
the resources.py module so that these icons are available for your application to use.
With this groundwork done, we're ready to start defining the application code itself. Let's
start with the constants.py module.
Search WWH ::




Custom Search