Convert PyQt UI file to Qt corresponding py File
Project description
README
[!note]
- 这个工具用于转换 Qt 的
* .ui文件为*.py文件- 对于没有使用 Vscode 插件的用户,还是一个不错的脚本
- 如果没有指定
-p参数,那么生成的文件会在当前目录下生成一个ui_files文件夹
安装方法
pip 用户
[!important] 请先去 release 下载
conver_ui-x.x.x.whl文件
pip install conver_ui-x.x.x.whl
或者直接使用
pip通过 PyPi 安装
pip install conver_ui
uv 用户
uv pip install conver_ui-x.x.x.whl
测试是否安装成功
测试命令是否可以使用了
# 查看版本
convert_ui -v
VERSION 'vx.x.x'
常用的一些功能
# 使用说明
convert_ui -h
# 转换当前目录下所有的文件为py文件
convert_ui
# 批量转换指定目录下的文件为py文件
convert_ui -t ./demo1.ui ./demo2.ui
# 指定输出目录
convert_ui -t ./demo1.ui -p ./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
convert_ui-0.3.6.1.tar.gz
(4.7 kB
view details)
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 convert_ui-0.3.6.1.tar.gz.
File metadata
- Download URL: convert_ui-0.3.6.1.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bb614c3e752b6458fd04261cf6a8fc366094bb40250775edd52fdf1aa774ff39
|
|
| MD5 |
407a3f5dd119a1aee076753782a33c32
|
|
| BLAKE2b-256 |
608b95aed6641e4718d93589b63423525ffdc494e97baf2a1fbcaa2e623df85c
|
File details
Details for the file convert_ui-0.3.6.1-py3-none-any.whl.
File metadata
- Download URL: convert_ui-0.3.6.1-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1cb93c0db48f8e2372df2b35a4b303e33a7c68aa923bf4c0b325947c9d5b3e12
|
|
| MD5 |
59483884bcc135a55069d37466d497f4
|
|
| BLAKE2b-256 |
23b5212603f89bf0487b62d1b3d8070a692bd76b6e4289d4c22d4be67abeb517
|