Metadata-Version: 2.4
Name: thonny-ikode
Version: 1.1.1
Summary: Thonny plugin by IKODE: generate PyQt5 loadUi code and preview Qt Designer .ui forms
Author-email: Bejaoui Dhia <admin@ikode.tn>
Maintainer-email: IKODE <admin@ikode.tn>
License: Proprietary - All rights reserved
Project-URL: Homepage, https://ikode.tn
Keywords: thonny,thonny-plugin,PyQt5,Qt Designer,education,IKODE
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: X11 Applications
Classifier: Environment :: Win32 (MS Windows)
Classifier: Environment :: MacOS X
Classifier: Intended Audience :: Education
Classifier: Intended Audience :: End Users/Desktop
Classifier: License :: Other/Proprietary License
Classifier: Natural Language :: French
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Topic :: Education
Classifier: Topic :: Software Development :: User Interfaces
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: thonny>=3.3.0
Requires-Dist: Pillow
Dynamic: license-file

# thonny-ikode

Thonny plugin by IKODE for working with PyQt5 and Qt Designer `.ui` files.

## Features

- **PyQt** button (`Ctrl+Shift+B`): pick a `.ui` file, choose the form variable name, and generate the `loadUi` code with a `*_click` handler for every `QPushButton`.
- **Éléments UI** button: interactive live preview of a `.ui` form. Hover a widget to highlight it, click to copy `form.widgetName`.
- **IKODE menu > Oublier le nom du formulaire**: resets the remembered form name. All commands now live in their own "IKODE" menu instead of Tools.

## Install

From Thonny: *Tools > Open system shell*, then:

```
pip install thonny-ikode
```

or from this folder / a wheel:

```
pip install .
pip install thonny_ikode-1.1.0-py3-none-any.whl
```

Restart Thonny afterwards.

## Notes

- Pillow (sharp image previews, JPG support) is installed automatically with the plugin.
- Generated code needs `PyQt5` in the interpreter that runs your scripts. Install it from Thonny: *Tools > Manage packages*, search `PyQt5`, then Install.
- On startup the plugin sets the working folder to `Desktop/IKODE` and does not reopen previous files.

## Build

```
python -m pip install build
python -m build
```
