Python Graphical user Interface
NATIONAL INSTITUTE OF TECHNICAL TEACHERS
TRAINING AND RESEARCH
PHASE-1 TRAINING (IP-15)
BY
SHIKHA SHARMA
ASST. PROFESSOR
G.E.C NAWADA
LEARNING OUTCOME 2
After successful completion of this course, student
will able to
1. Understand the basic concepts of Graphical User
Interface (GUI).
2. Learn how to build simple GUI applications using
Python and Qt Designer.
OUTLINE
3
Prerequisites
Introduction
QtDesigner
Python GUI
Application
Summary
PREREQUISITES 4
Basics of Python.
Qt Designer.
INTRODUCTION
5
A Graphical User Interface allows users to interact with
electronic devices using visual representations, such as
icons, buttons, and windows.
Provides the user with a good interactive screen than a
traditional Command Line Interface (CLI).
Some python GUI libraries are:- Tkinter, PyQT5, PySide
2, etc.
INTRODUCTION
6
PyQT5 is a graphical user interface (GUI) framework
for Python.
In PyQT5 the GUI interface can be created by coding
or a QT designer.
Qt DESIGNER
7
Qt Designer is a tool used for designing GUI
applications visually (drag and drop) using Widgets.
Drag and drop widgets like Main Window, Menu bar,
Push Buttons, Label, etc.
Qt Designer generates a .ui file that has been used in
designing python GUI.
Qt DESIGNER
8
PYTHON GRAPHICAL USER INTERFACE
9
APPLICATIONS
10
Python GUI can be used to create utility applications
A simple scientific calculator or a unit converter
(currency, temperature, etc).
Python's GUI frameworks can be used to create simple
games like, snake game, Puzzle game, etc.
SUMMARY
11
GUI is essential for user-friendly interaction with
software.
Python’s PyQt5 and Qt Designer are two powerful tools
for creating GUI applications.
ASSESSMENT
12
1. Name two widgets available in Qt Designer.
ASSIGNMENT
13
Create a GUI-based application using Python with at
least 3 widgets (buttons, text fields, labels).
14
WELCOME YOUR
FEEDBACK & SUGGESTION
15
THANKS