On Mon, Apr 12, 2021 at 10:32 AM [email protected] <[email protected]>
wrote:

> Looks like the names of the constants have been changed to
>
> label.setFrameStyle(QFrame <https://doc.qt.io/qt-6/qframe.html#QFrame>::
> Panel | QFrame <https://doc.qt.io/qt-6/qframe.html#QFrame>::Raised);
>
> See https://doc.qt.io/qt-6/qframe.html#details
>

Rev d5a26c0 in ekr-qt attempts a fix.  The new code is:

Shadow = QtWidgets.QFrame.Shadow.Sunken if isQt6 else self.Sunken
self.setFrameStyle(self.StyledPanel | Shadow.Sunken)

I only tested that Shadow.Sunken exists on qt6. Please let me know if the
fix works for you.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/CAMF8tS3jabyetUyQ6idn_dcePr-%3Dd20Pxiiorvw05DmtqnN-ew%40mail.gmail.com.

Reply via email to