Question: For this final program, you will create a GUI to interface with software programming code for a car repair shop. The output of the GUI

For this final program, you will create a GUI to interface with software programming code for a car repair shop. The output of the GUI will be a message outlining car repair information, based on their interaction with the GUI.
Activity Instructions
Create a graphical user interface (GUI), in a Python class, for a user to input their personal information (name and phone) and select different items for car repairs. The interface should contain the following elements:
Checkboxes for the user to select services
Radio buttons to allow the user to select the type of service fee
Listbox to select a payment method
Message box to display output after the user clicks a button to calculate the cost
Section frames dividing form elements for Customer Information (e.g., name, phone number, and payment type); format each frame and its content.
GUI Content
Window
Have appropriate window title
Format the background of the Window with an appropriate color
Set the size of the window to have space around the frames
Frames
Label for title
Customer Name entry (set the focus on this when the GUI opens)
Phone entry
Format the frame and content as needed (4 types of formats minimum)
Frame (Checkboxes)
Oil Change - $30.00
Radiator Flush - $40.00
Inspection - $35.00
Tire Rotation - $20.00
Format the frame and content as needed (4 types of formats minimum)
Frame (Radio Buttons)
Normal Service Fee- $15.00
Express Service Fee - $25.00
Weekend Service Fee - $30.00
Format the frame and content as needed (4 types of formats minimum)
Frame (Listbox)
Cash (set the focus to this when the GUI opens)
Check
Visa
MasterCard
Format the frame and content as needed (4 types of formats minimum)
Frame (Buttons)
Calculate This button will calculate their total and show as output in a messagebox
The "command" for this button will call a method to perform the calculations and output
Quit (this button will quit the program)
The "command" for this button will destroy the window. If you want to get creative, you can create a messagebox to validate that the user wants to quit the program, but this is not mandatory.
Clear (this button will clear GUI widgets)
The "command" for this button will call a method to clear the information from the customer inputs, checkboxes, radio buttons, reset the focus on "Cash" in the listbox and set the focus back into the name entry.
Format the frame and content as needed (4 types of formats minimum)
Output
You will use a message box for this, with a title and output. The output should repeat the customer information, show their choices of the checkboxes, radio button, their total and what they choose as the method of payment.
Output of order, with customer contact information, services, charges, method of payment, and total charges
If the user does not enter a name and/or phone number, and clicks on the "Display Charges" button, the user should get a messagebox with a title and message telling them this is required information.
Output of error message warning customer, You must fill in the name and/or phone number fields to continue!
Formatting can be background color, text color, fonts (style, size, bold etc), padding, border (both size and style), width etc. If you look at the Activity 6.2 lab on GUIs, you will see some formatting options we did together. If you search the internet, you can find many different options we may have not looked at in the Activity 6.2 lab.
When you code these programs make sure you use proper variable naming and add comments to the program. There should be a program comment, minimum of a section comment (meaning a comment introducing the creation of the window, introducing the creation of each frame etc), and line comments explaining major code in the program, such as identifying the code for checkboxes.
Please make sure you complete your own work. There is no possible way two people can create the exact same program code. Remember, if you share your files both the student who submitted another student's file and the person who gave the file to that student will get a zero (0) on the assignment.

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 Programming Questions!