Field simulation

The field

Our crop simulation interface was a nice introduction to the concept of a graphical user interface and to the PyQt framework but it did not provide all of the features that users would expect from a modern interface. More importantly, your students will want to create more sophisticated interfaces for their A2 practical projects.

This section is designed to introduce you to some of these more sophisticated features. Over the following pages we will cover the following:

  • Designing an interface
  • Handling graphics
  • Toolbars
  • Event handling
  • Context menus
  • Dialog windows

Health warning

The difficulty of this material ramps up quite quickly. You will need to read and re-read, watch and re-watch - take notes! Make sure you are fully comfortable with both the object-oriented and crop simulation interface tutorials before you attempt this section.