Bug fix for test suite in Qt6.
parent
94c1b04583
commit
6358a38273
|
@ -321,8 +321,9 @@ if args.pyqt6:
|
||||||
HLine = QtWidgets.QFrame.Shape.HLine
|
HLine = QtWidgets.QFrame.Shape.HLine
|
||||||
VLine = QtWidgets.QFrame.Shape.VLine
|
VLine = QtWidgets.QFrame.Shape.VLine
|
||||||
WinPanel = QtWidgets.QFrame.Shape.WinPanel
|
WinPanel = QtWidgets.QFrame.Shape.WinPanel
|
||||||
Shadow_Mask = QtWidgets.QFrame.StyleMask.Shadow_Mask
|
# Qt6 expects an int value, not enumerated value for the StyleMask.
|
||||||
Shape_Mask = QtWidgets.QFrame.StyleMask.Shape_Mask
|
Shadow_Mask = QtWidgets.QFrame.StyleMask.Shadow_Mask.value
|
||||||
|
Shape_Mask = QtWidgets.QFrame.StyleMask.Shape_Mask.value
|
||||||
Plain = QtWidgets.QFrame.Shadow.Plain
|
Plain = QtWidgets.QFrame.Shadow.Plain
|
||||||
Raised = QtWidgets.QFrame.Shadow.Raised
|
Raised = QtWidgets.QFrame.Shadow.Raised
|
||||||
Sunken = QtWidgets.QFrame.Shadow.Sunken
|
Sunken = QtWidgets.QFrame.Shadow.Sunken
|
||||||
|
|
Loading…
Reference in New Issue