A command-line tool included with PyQt. It converts Qt Designer files into python modules, and is equivalent to Qt's uic command-line tool.
Questions tagged [pyuic]
99 questions
0
votes
0 answers
When Installing PyQt5 gives error 'pyuic5' and Python cannot import PyQt5
I tried to install PyQt5 on Ubutun but during instillation it gives error;
install -m 644 -p /home/hrn/Applications/PyQt-gpl-5.4/__init__.py /usr/lib/python3.4/site-packages/PyQt5/
cp -f -R home/hrn/Applications/PyQt-gpl-5.4/pyuic/uic…

hrn
- 111
- 1
- 1
- 12
0
votes
1 answer
Python User Interface not working.
I have converted .ui file to .py file using pyuic4. But when I run the code in python nothing is happening. No errors, no user interface. The code runs and ends within a second. I tried debugging using print command, python is not entering within…

h P
- 1
0
votes
2 answers
Compiling/updating PyQt .py file
I am brand new to PyQt so bear with me here...
I create a widget with Qt Designer, then compile it and save it as .py. I edit the .py file to add some additional functionality. But then say I need to go back to Qt Designer and update the layout of…

griffsterb
- 131
- 4
- 12
0
votes
1 answer
python - cannot import name from file generated with pyuic4
I have the following two scripts, the first of which was generated using pyuic4 for Windows, and was not modified.
textedit.py:
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'mytextedit.ui'
#
# Created: Mon Sep 22…

GHandel
- 172
- 2
- 3
- 13
0
votes
1 answer
Why is pyuic4 subclassing object instead of QDialog?
I am newly using PyQt4 on Ubuntu. My problem is that pyuic4 generates code that subclasses object rather than the appropriate widget class, which in this case should be QDialog.
I can import PyQt4.Qt in the python interpreter without error, and I…

KJR
- 3
- 2
0
votes
1 answer
How to disable unicoding translate when using pyuic4 to generate PyQT UI?
My setup is PyQT4.10 (QT4.8.5) with Python 2.7 on Windows 7. Using pyuic4 to convert .ui files to Python codes always generates codes that use QtCore.QString.fromUtf8 and QtGui.QApplication.translate for string translation. Since there are only…

Nolan
- 25
- 4
-1
votes
1 answer
Window closes immediatelly after run
My code calls one window with a button. When the button is clicked, call another window. But the second window closes immediately
"basic" and "windows_two" are .py libraries genereted by pyuic5 from .ui files
import basic, windows_two
from PyQt5…

Pedro Antônio
- 395
- 1
- 6
- 19
-1
votes
3 answers
How to convert file.ui into file.py with pyuic version 4.8.5?
I've had a problem converting file.ui into file.py, because I am using the 4.8.5 version of pyuic on my PC, and the version downloadable is 4.11 (for Python 3). I need to work with python 2.7 - how can I do it?

Heryx
- 1
- 2
-1
votes
1 answer
how to access members from a class
im using QtDesigner which drops its code in a Class when converted to .py.
I have to access the buttons and labels and textboxes outside of the class to do operations on them. I cant put my functions above the class because of unresolved error. I…

に か
- 117
- 1
- 3
- 12