Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write a GUI python program that mimics the above GUI layout which is an employment form where the HR user can enter the employee information:
Write a GUI python program that mimics the above GUI layout which is an employment form where the HR user can enter the employee information: - Upload employee image - full name (all must be string) - ID (10 digits) - Phone number (10 digits should start with 05) - Salary, Team (radio buttons) - Destination file where this information should be stored. When the user hits Browse, the File dialog should handle this event and the user selects the employee image that he would like to upload When the user hits Open, the File dialog should handle this event and the user selects the file where the user wants to save this information such as C:/home/user/data.txt Finally, the user hits Submit, the program saves this information into the selected file, and clears out all the input fields for the next employee. Data to be saved for each employee (Image path, full name, ID, Phone, Salary, Team) Note: the application should enforce all the data types such as the id should be 10 digits; if the user enters 9 digits, the application should display an error message and does not submit this information to the file until the user fixes all the problems. To make your life easier, Images should have identical width"height (for example: 120120 ) and should be .png
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started