Added a QMainWindow subclass to project_widget example.