<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><p class="ecxMsoNormal" style="line-height: 21.2999992370605px; margin-bottom: 1.35em; color: rgb(68, 68, 68); font-size: 15px; background-color: rgb(255, 255, 255);"><span style="line-height: 21.2999992370605px;">Hi all,</span></p><div style="line-height: 21.2999992370605px; color: rgb(68, 68, 68); font-size: 15px; background-color: rgb(255, 255, 255);"><br style="line-height: 21.2999992370605px;"></div><div style="line-height: 21.2999992370605px; color: rgb(68, 68, 68); font-size: 15px; background-color: rgb(255, 255, 255);">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.</div><p class="ecxMsoNormal" style="line-height: 21.2999992370605px; margin-bottom: 1.35em; color: rgb(68, 68, 68); font-size: 15px; background-color: rgb(255, 255, 255);"><br style="line-height: 21.2999992370605px;"></p><p class="ecxMsoNormal" style="line-height: 21.2999992370605px; margin-bottom: 1.35em; color: rgb(68, 68, 68); font-size: 15px; background-color: rgb(255, 255, 255);">Three pushbuttons were <span style="line-height: 21.2999992370605px;">created using Qt Creator, Panel 1 was brought to the front and Panel 3 was brought to the back. However,</span><span style="line-height: 21.2999992370605px;"> 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.</span></p><p class="ecxMsoNormal" style="line-height: 21.2999992370605px; margin-bottom: 1.35em; color: rgb(68, 68, 68); font-size: 15px; background-color: rgb(255, 255, 255);"><span style="font-size: 12pt; line-height: 22.7199993133545px;">The differences are shown in the two images attached. </span></p><p class="ecxMsoNormal" style="line-height: 21.2999992370605px; margin-bottom: 1.35em; color: rgb(68, 68, 68); font-size: 15px; background-color: rgb(255, 255, 255);"><br style="line-height: 21.2999992370605px;"></p><div style="line-height: 21.2999992370605px; color: rgb(68, 68, 68); font-size: 15px; background-color: rgb(255, 255, 255);">Thanks in advance for your assistance.</div><div style="line-height: 21.2999992370605px; color: rgb(68, 68, 68); font-size: 15px; background-color: rgb(255, 255, 255);"><br style="line-height: 21.2999992370605px;"></div><div style="line-height: 21.2999992370605px; color: rgb(68, 68, 68); font-size: 15px; background-color: rgb(255, 255, 255);">Cheers,</div><div style="line-height: 21.2999992370605px; color: rgb(68, 68, 68); font-size: 15px; background-color: rgb(255, 255, 255);">Alvin</div> </div></body>
</html>