[PyQt] PYQT pyuic5 cannot generate the desire property of line created from QT Creator
Alvin
wei_jian90 at hotmail.com
Fri Jan 30 09:33:20 GMT 2015
Hi all,I am unable to generate the desirable code using pyuic5. The .py file created did not show the desired property of a line created from QT Creator. The problem is illustrated using a simple example as attached.
Two lines was created using Qt Creator with the following
parameters as shown below. A line named 'hor_line' has the property
'frameShadow' to be 'Plain', but the pyuic5 did not capture it and created a
file that generated an additional code 'self.hor_line.setFrameShadow(QtWidgets.QFrame.Sunken)'
that result in a different GUI from the one created in Qt Creator.The differences are shown in the two images attached.
Thanks in advance for your assistance.Cheers,Alvin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20150130/308a7f03/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: line.py
Type: text/x-script.phyton
Size: 1323 bytes
Desc: not available
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20150130/308a7f03/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: line.ui
Type: application/octet-stream
Size: 1190 bytes
Desc: not available
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20150130/308a7f03/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: line_executed_with_python3.jpg
Type: image/jpeg
Size: 80904 bytes
Desc: not available
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20150130/308a7f03/attachment-0002.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: line_executed_with_QT Creatorjpg.jpg
Type: image/jpeg
Size: 48937 bytes
Desc: not available
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20150130/308a7f03/attachment-0003.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mainline.py
Type: text/x-script.phyton
Size: 662 bytes
Desc: not available
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20150130/308a7f03/attachment-0003.bin>
More information about the PyQt
mailing list