Skip to content

This repository is a practice to implement a window application with PyQt5. The program is about the resignation letter which deny button is very hard to click, and you can not close the window, so the only choice is to approve the resignation.

Notifications You must be signed in to change notification settings

KennyTzeng/Resignation-Letter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Inspired by this funny video (Source: unknown).
Just a practice to implement it by QtPy5.

How to run it

Install the required shared libraries for PyQt5.

# apt-get install libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xfixes0 libxcb-xinerama0 libxcb-xkb1 libxkbcommon-x11-0 libxkbcommon0

Clone this project and run it in virtual environment.

# git clone https://github.com/KennyTzeng/Resignation-Letter.git
# cd Resignation-Letter/
# python3 -m venv venv
# source venv/bin/activate
(venv)# pip install --upgrade pip
(venv)# pip install PyQt5
(venv)# python3 main.py

Others

Link: https://hackmd.io/@KennyTseng/HJqBqHIcP

Here are some notes I wrote when doing this project, including:

  • Trouble shooting of running PyQt5 in Windows subsystem ubuntu 18.04 (WSL)
  • GUI design - Qt Designer
  • How did I test the sub-component
  • References

Resources

About

This repository is a practice to implement a window application with PyQt5. The program is about the resignation letter which deny button is very hard to click, and you can not close the window, so the only choice is to approve the resignation.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages