[PyQt] PYQT pyuic5 cannot generated the order of widget created using QT Creator‏

Alvin wei_jian90 at hotmail.com
Fri Jan 30 09:40:40 GMT 2015


Hi all,I am unable to generate the desirable code using pyuic5. The .py file created did not show the order of the widgets created in QT Creator. The problem is illustrated using a simple example as attached.Three pushbuttons were created using Qt Creator, Panel 1 was brought to the front and Panel 3 was brought to the back. However, pyuic5 did not capture it and created a file that do not have any code stating the order of the pushbuttons. It resulted in a different order of layout.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/c0531713/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mainorder.py
Type: text/x-script.phyton
Size: 661 bytes
Desc: not available
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20150130/c0531713/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: order.py
Type: text/x-script.phyton
Size: 1373 bytes
Desc: not available
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20150130/c0531713/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: order.ui
Type: application/octet-stream
Size: 1357 bytes
Desc: not available
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20150130/c0531713/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: order_executed_with_python3.jpg
Type: image/jpeg
Size: 81651 bytes
Desc: not available
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20150130/c0531713/attachment-0002.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: order_executed_with_QTCreator.jpg
Type: image/jpeg
Size: 53953 bytes
Desc: not available
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20150130/c0531713/attachment-0003.jpg>


More information about the PyQt mailing list