100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

INF2611 Assignment 4 (COMPLETE ANSWERS) 2025 - DUE 16 September 2025; 100% correct solutions and explanations.

Rating
-
Sold
-
Pages
11
Grade
A
Uploaded on
08-09-2025
Written in
2025/2026

INF2611 Assignment 4 (COMPLETE ANSWERS) 2025 - DUE 16 September 2025; 100% correct solutions and explanations. QUESTION ONE: 40 MARKS Design a 4-page GUI of your own choice using Qt Designer. (10 marks for each GUI functionality). Use the traditional file handling method unless you have the time and skills to create a database, you can use a MySQLdb for file storage. Do not include too many functionalities (buttons and edit boxes) on one GUI to avoid lengthy code. The first page should be a login screen with text boxes for Username and Password, along with Login and Cancel buttons. The remaining three pages should feature a custom user interface of your choice, incorporating various widgets, a Calendar, and a graphic logo. Make sure that the button used are working. Make use the system is functional. Use your own surname as username and your student number as system password. (-10 marks if the username and password are not your own surname and student number, and -100 marks if they belong to another student) N.B: Paste the .py code of each GUI on this section and name them GUI code 1-4. Paste a screenshot of the

Show more Read less
Institution
Course









Whoops! We can’t load your doc right now. Try again or contact support.

Connected book

Written for

Institution
Course

Document information

Uploaded on
September 8, 2025
Number of pages
11
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

, INF2611 Assignment 4 (COMPLETE ANSWERS)
2025 - DUE 16 September 2025; 100% correct
solutions and explanations.
Question 1

Step 1: Requirements Overview

1. GUI 1 – Login Page
o Text boxes: Username, Password
o Buttons: Login, Cancel
o Username = YourSurname, Password = YourStudentNumber
o Login checks credentials and opens GUI 2 on success
o Cancel exits application
2. GUI 2 – Custom Page 1
o Include widgets: Label, Buttons, TextEdit
o Logo display (can use QLabel with setPixmap)
o A button to navigate to GUI 3
3. GUI 3 – Custom Page 2
o Include a calendar widget
o Additional widgets (e.g., ComboBox, PushButton)
o Navigate to GUI 4
4. GUI 4 – Custom Page 3
o Include text input, radio buttons, checkboxes
o Display system info or sample output
o A “Logout” button that returns to GUI 1
5. File Handling
o Optional: save user inputs to .txt files
6. PyQt Version
o Using PyQt5 (pip install PyQt5)




GUI Code 1 – Login Screen (gui1.py)

import sys
from PyQt5.QtWidgets import QApplication, QWidget, QLabel, QLineEdit, QPushButton,
QMessageBox
from PyQt5.QtGui import QFont
from gui2 import GUI2 # Import next page

class Login(QWidget):
def __init__(self):
super().__init__()

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
MasterVincent University of South Africa (Unisa)
Follow You need to be logged in order to follow users or courses
Sold
2561
Member since
2 year
Number of followers
452
Documents
1529
Last sold
2 days ago
MasterVincent

On this page, you find all documents, package deals, and flashcards offered by seller MasterVincent.

4.1

375 reviews

5
205
4
68
3
50
2
24
1
28

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can immediately select a different document that better matches what you need.

Pay how you prefer, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card or EFT and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions