[PyQt] PYQT pyuic5 cannot generate the desire property of line created from QT Creator
Phil Thompson
phil at riverbankcomputing.com
Fri Jan 30 10:15:59 GMT 2015
On 30/01/2015 9:33 am, Alvin wrote:
> 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
Already fixed in current snapshots.
Phil
More information about the PyQt
mailing list