Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 4 out of 238 pages
Exam (elaborations)

INF2611 EXAM PACK 2025

Document preview thumbnail
Preview 4 out of 238 pages

INF2611 EXAM PACK 2025... 100% TRUSTED Answers, guidelines, workings, and references..FOR ASSISTANCE WITH ASSIGNMENTS OR TO GET THE LATEST EXAM MATERIALS, KINDLY REACH OUT AT

Content preview

INF2611 EXAM
PACK 2025

, Chapter 7 – Converting Data types
Add two numbers application

Step 1 Open Qt Designer
 Open the QtDesigner by selecting the Qt Designer program icon




Step 2: Selecting a Template

 Click on the “Dialog without Buttons” option.
 Click the Create button.
 A new form with the caption “untitled” will be created without any widgets.




Step 3: Adding Widgets

,  Add the following widgets and configure their properties. Note: Python is case-sensitive, so ensure the correct letter
casing for all object names.



Widget Details
QLabel (Display Widgets Section)

Properties:

 objectName: labelFirstNumber
 text: Enter First Number


QLabel (Display Widgets Section)

Properties:

 objectName: labelSecondNumber
 text: Enter Second Number


QLabel (Display Widgets Section)

Properties:

 objectName: labelAddition


QLineEdit (Input Widgets Section)

Properties:

 objectName: lineFirstNumber


QLineEdit (Input Widgets Section)

Properties:

 objectName: lineSecondNumber


QPushButton (Buttons Section)

Properties:

 objectName: AddButton
 text: Add



Previewing the Form

 Press Ctrl+R to preview the form.

The form should resemble the layout below:

, Note:
This guide was originally created by MJ Kies (2017) for use with the book “Introduction to Python Programming and
Developing GUI Applications with PyQT”.

Document information

Uploaded on
December 2, 2024
Number of pages
238
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$2.71

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

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.
LADHU
3.6
(32)
Sold
233
Followers
181
Items
683
Last sold
1 month ago

Reviews from verified buyers



Why students choose Stuvia

Created by fellow students, verified by reviews

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

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

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

Student with book image

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

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions