Question: In this assignment you will use the Tkinter Pythan GUI toolkit to develop a simulated user interface to the Hame Heating System classical Object Oriented

In this assignment you will use the Tkinter Pythan GUI toolkit to develop a simulated user interface to the Hame
Heating System classical Object Oriented Design application discussed in class. Based an the HeutSwitch,
abstract ToggleSwitch, and BooleanView classes develaped in class, develap a code in a Jupyter Natebook to
render a GUI that resembles Figure 1 when the GUI is launched.
Figure 1. Initial state of the home heating system user interface. Temperature is initially set to 75 and no buttons
are highlighted.
In addition to the Button and Label widgets, the GUI makes use of Frame and Scale widgets. Documentation for
the Tkinter library is available here O. Read how to use the Frome and Scale widgets. Consider using grid
placement with the Frame widget. When the user slides the desired temperature to BO and above, the heat on
button becames highlighted and the status messge becomes furnace running, as shawn in Figure 2.
Figure 2. State of the home heating system user interface when the slider is advanced to a0 or higher.
When the slider is lawered to 65 or below, the heat off button becames highlighted and the status mesegge
becomes furnace stopped, as shawn in Figure 3. Nate the heat off and heat on buttans should model the view of a
ToggleSwitch where only one of the two buttons can be highlighted [i.e., enabled) at one time.
Figure 3. State of the home heating system user interface when the slider is lowered to 65 or belaw.
When the slider is advanced beyond 25, the fault button and heat off button becomes becomes highlighted and
the status messige becomes furnace faulted, as shown in Figure 4. In the faulted state, the slider, heat off button,
and heat on button has no effect until one presses the fault reset button to clear the fault.
Figure 4. State of the home heating system user interface when the slider is advanced beyand 85.
When the foult reset button is clicked, the temperature is reset to 75, the heat off button becomes highlighted,
and the status message becomes furnace stopped, as shown in Figure 5.
Figure 5. State of the home heating system user interface after the fault reset button is clicked.
Use Object Oriented design principles to design your GUI. Make sure your GUI raises no exceptions and test all
possible button presses and slider positions to verify no exceptions are raised.
 In this assignment you will use the Tkinter Pythan GUI toolkit

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!