Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Create GUI App with PyQt5

Python Simplified via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Learn how to create a graphical user interface for a computer science trivia game using PyQt5 in this comprehensive tutorial video. Explore the process of designing the first two frames of the game, including essential widgets like text, images, and buttons. Dive into styling and layout commands, and discover how to add interactivity to clickable elements with hover events. Master the art of switching between frames seamlessly and gain valuable insights into PyQt5's powerful features for creating engaging interfaces. By the end of this tutorial, you'll have a solid foundation for building interactive GUI applications with Python and PyQt5.

Syllabus

- Intro
- Starter files walkthrough
- initialize GUI app
- create QWidget window
- set window title
- set window width
- set window background color
- open window
- terminate app
- open Anaconda or other terminal
- activate working environment
- change directory
- run app
- initialize grid layout
- apply grid layout
- load png image
- create label widget
- place image inside label
- place logo on grid
- set window position fix
- align label to center
- set label margin
- create button widget
- set button cursor
- set button CSS style
- place button on grid
- set button padding and margin
- mouse hover event
- create frame function
- call frame function
- create global dictionary of empty lists
- append local widgets to global dictionary
- place global variables on the grid
- define frame 2 function
- create text widget
- create wrapping text widget
- set word wrap
- place label on grid
- set column span
- fix typos and parameters
- create a button widget
- store button widget in a function
- return button from function
- add buttons to global dictionary
- call button function many times
- customize parameters for each button
- update function call with new parameters
- define callback function
- hide all widgets
- reset global dictionary
- button callback
- switch frames continuously
- THANKS FOR WATCHING!

Taught by

Python Simplified

Reviews

Start your review of Create GUI App with PyQt5

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.