Python GUI toolkit
Project description
The light Python GUI builder (currently based on PyQt6)
Simplifying the creation of common GUI applications
Description
q2gui is a lightweight Python GUI builder designed to simplify the creation of desktop applications using PyQt6. It provides a high-level API for building forms, menus, toolbars, tabbed interfaces, and various widgets with minimal code. Features include:
- Dynamic menu and toolbar creation with shortcuts and icons
- Form builder supporting labels, inputs, combo boxes, radio buttons, checkboxes, date/time pickers, and more
- Tabbed and split layouts, frames, and groupings
- Sheet/grid controls with customizable headers, sizes, and actions
- Built-in support for color modes (light/dark)
- Status bar, tool buttons, and message dialogs
- Easy event handling and validation logic
- Demo applications showcasing usage patterns
How to start
With PyPI package:
poetry new project_01 && cd project_01 && poetry shell
poetry add q2gui
cd project_01
python -m q2gui > example_app.py && python example_app.py
Explore sources:
git clone https://github.com/AndreiPuchko/q2gui.git
cd q2gui
pip3 install poetry
poetry shell
poetry install
python3 demo/demo_00.py # All demo launcher
python3 demo/demo_01.py # basic: main menu, form & widgets
python3 demo/demo_02.py # forms and forms in form
python3 demo/demo_03.py # grid form (CSV data), automatic creation of forms based on data
python3 demo/demo_04.py # progressbar, data loading, sorting and filtering
python3 demo/demo_05.py # nonmodal form
python3 demo/demo_06.py # code editor
python3 demo/demo_07.py # database app (4 tables, mock data loading) - requires a q2db package
python3 demo/demo_08.py # database app, requires a q2db package, autoschema
demo/demo_07.py screenshot
=======
Build standalone executable
(The resulting executable file will appear in the folder dist/)
One file
pyinstaller -F demo/demo.py
One directory
pyinstaller -D demo/demo.py
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file q2gui-0.1.212.tar.gz.
File metadata
- Download URL: q2gui-0.1.212.tar.gz
- Upload date:
- Size: 96.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.0 CPython/3.11.7 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
16de96adf2d1a9eb38e59f9e2ca4a1ac81365e964fe22c1dfdb0edb07791ff03
|
|
| MD5 |
756ee28519bd874876ccb555016bcacc
|
|
| BLAKE2b-256 |
cbc7f7510188c360d0ce935126de8a3de3398294347767a11be0ad139a8108ab
|
File details
Details for the file q2gui-0.1.212-py3-none-any.whl.
File metadata
- Download URL: q2gui-0.1.212-py3-none-any.whl
- Upload date:
- Size: 132.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.0 CPython/3.11.7 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
86439587d439572c290a3ae2033d792b3947c84a7329bc0a29ecb2b2ed9a534f
|
|
| MD5 |
d8c6e5ba0d9e7875a36fce643f5f68c0
|
|
| BLAKE2b-256 |
f62613db91617b31c084334aaf6f34d45a08a9a5ff3e8e3f45d165ff8c9f022b
|