Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please help me the answer should be python code Write a Python GUI program to design and implement an interface shown in figure (1). To

Please help me the answer should be python code
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
Write a Python GUI program to design and implement an interface shown in figure (1). To get full mark, your GUI must match figure (1) and apply the specifications and functionalities mentioned in sections (A) and (B). o x File Edit First Name Last Name Male Gender Department Hobbies Female Software Engineering Painting r Drawing Computer Science Programming Reading show information Write information A. GUI Specifications The interface window in figure (1) contains a set of widgets with the following specifications 1- window must have a fixed size (width: 650,height: 450) and cannot be resized at run time. 2- five labels (text color: "green". padding from left: 25. padding from top: 20). 3- two entry widgets (width: 40). 4- two groups of radiobuttons, each has two radio buttons. 5- one group of checkbuttons with four check buttons. 6- two buttons (background color: "orange", width: 26, height: 17). 7. Menu bar that contains the following menus: File menu that contains the menu commands (Open, Save, Exit) Edit menu that contains the menu commands (Copy Paste. Find) le Om Copy ter De Hobb B. Functionalities of the GUI widgets: 1. If the user click the button "show information" then an information message box will pop up showing first name, last name, department, gender, and hobbies. An example is shown in figure (2) tk File Edit First Name Last Name Rana Husni Gender Department Hobbies Female Software Engineering Painting Drawing Male Computer Science Programming Reading information X show information Write informatio Your full name is Rana Husni You study Computer Science Your are Female Your hobbies are Drawing Programming Painting OK 2. If the user click the button "Write information then first name, last name, department, gender, and hobbies will be saved in a text file named "myData.txt". An example is shown in figure (3). myData - Notepad File Edit Format View Help Your full name is Rana Husni You study Computer Science Your are Female Your hobbies are: Drawing Programming Painting I Ln & Col 1 UTF-8 100% Windows (CRLF) Figure 3 3. If the user selects Open from File menu, then the selected file name will be displayed in the title bar of the GUI window. An example is shown in figures (4 and 5). Pensile Local Dicthers Sec File First Last Name Hun Female Gender Department Hobbies Ogni de Desktop Download Documents Software Engineering Pec bodnagement PV PY PY OOP2 Python Screenshot OneDrive Per taigmentation Solution hence Set Employee Per Dute modified 1/2 PM 1/6/2003 SPM 11/22 11:24 12222 AM MT2021 10:43 AM 1224 PM 1121212 PM 11/22/2014 12 AM 122/2013 AM 11/21/2025702 PM show information Winte formation Pyrik PY PH PY Pie Pye DEL The PC Python files Open Cancel Figure 4 X C:/Users/PC/ProjectSec.py File Edit First Name Last Name Gender Department Hobbies Rana Husn Female Software Engineering Painting Drawing Male Computer Science Programming Reading show information Write information 4. If the user selects Exit from File menu, a Yes, No box should be appeared asking him "Are you sure you want to exit?" If No, an information box titled "Welcome shows "Welcome back again" message otherwise the user will end the application. An example is shown in figure (6). Fit me Female Male Come Science D ring M Computer he Beding dig nematen w Figure 6

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database And Transaction Processing

Authors: Philip M. Lewis, Arthur Bernstein, Michael Kifer

1st Edition

0201708728, 978-0201708721

More Books

Students also viewed these Databases questions

Question

Know the three main dimensions of the service environment.

Answered: 1 week ago