Inspired by this funny video (Source: unknown).
Just a practice to implement it by QtPy5.
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
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
- letter icon: made by DinosoftLabs from www.flaticon.com
- warning icon: made by Freepik from www.flaticon.com
- X-mark icon: from www.iconsdb.com
- green-ok-mark icon: from www.iconsdb.com