Skip to main content

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


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.3.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

convert_ui-0.3.6.3-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file convert_ui-0.3.6.3.tar.gz.

File metadata

  • Download URL: convert_ui-0.3.6.3.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.11

File hashes

Hashes for convert_ui-0.3.6.3.tar.gz
Algorithm Hash digest
SHA256 0cffbd1e8687dde63b16b8b9ee2cc4bfc32f2f11418821358164f0731315ea81
MD5 80ca91d85a5bc50c1fedb1bfa3e23e71
BLAKE2b-256 95a338de900605e37cac5d9e17a1ade2b75678c91386a434cd185432096bd1cb

See more details on using hashes here.

File details

Details for the file convert_ui-0.3.6.3-py3-none-any.whl.

File metadata

  • Download URL: convert_ui-0.3.6.3-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.11

File hashes

Hashes for convert_ui-0.3.6.3-py3-none-any.whl
Algorithm Hash digest
SHA256 1a4e3ce767d6d68969fcdea3ace673fdfbe563571e62371b9948a909142afe4b
MD5 c330dc2361067a590e0a994c9055a655
BLAKE2b-256 fac14c8b791ec9613905f13ba256d447e1c05035e20a5c32225a3f984f56463e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page