pyqode-uic

pyQode Qt ui compiler


License
MIT
Install
pip install pyqode-uic==0.1.1

Documentation

https://raw.githubusercontent.com/pyQode/pyQode/master/media/pyqode-banner.png


Latest PyPI version Number of PyPI downloads

About

Compile Qt Designer ui files to python scripts using the pyqode.qt package instead of PyQt5.

The tool is a simple wrapper on top of pyuic5/pyrcc5. It does two thing:
  • run pyuic5 or pyrcc5 (with the supplied arguments)
  • replace from PyQt5 import by from pyqode.core.qt import in the

This tool is part of the pyQode project.

Usage

Just run pyqode-uic or pyqode-rcc with the same arguments as you would have used if you were using pyuic5 or pyrcc5.

For example:

pyqode-uic --from-imports my_file.ui -o my_file_ui.py
pyqode-rcc my_resources.qrc -o my_resources_rc.py

Installation

pip3 install pyqode-uic

License

This project is licensed under the MIT license.