Bug fix for test suite in Qt6.

main
Alex Huszagh 2022-05-01 14:55:13 -05:00
parent 94c1b04583
commit 6358a38273
1 changed files with 3 additions and 2 deletions

View File

@ -321,8 +321,9 @@ if args.pyqt6:
HLine = QtWidgets.QFrame.Shape.HLine
VLine = QtWidgets.QFrame.Shape.VLine
WinPanel = QtWidgets.QFrame.Shape.WinPanel
Shadow_Mask = QtWidgets.QFrame.StyleMask.Shadow_Mask
Shape_Mask = QtWidgets.QFrame.StyleMask.Shape_Mask
# Qt6 expects an int value, not enumerated value for the StyleMask.
Shadow_Mask = QtWidgets.QFrame.StyleMask.Shadow_Mask.value
Shape_Mask = QtWidgets.QFrame.StyleMask.Shape_Mask.value
Plain = QtWidgets.QFrame.Shadow.Plain
Raised = QtWidgets.QFrame.Shadow.Raised
Sunken = QtWidgets.QFrame.Shadow.Sunken