ui2py
ui2py copied to clipboard
:computer: :snake: A Python GUI *.ui to *.py converter
ui2py
A nifty GUI utility that batch converts QtDesigner *.ui files to .py files
Installation
- Requires Python 3.x.x
- Requires PyQt5
pip install pyqt5
- Create a file named pyuic5.bat (if it doesn't exist already) with the following contents-
-
python -m PyQt5.uic.pyuic %1 %2 %3 %4 %5 %6 %7 %8 %9
- Add it to PATH
Usage
- Click Open to import *.ui files
- Supports batch conversion / Multiple file selection
- Click Convert to convert it to a .py file (saved in the same directory)
- Click Clear to clear the batch