You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PySide6 Widgets QComboBox.NoInsert (or whatever policy) should likely be QComboBox.InsertPolicy.NoInsert
super(MainWindow, self).__init__() could be super().__init__() throughout...as of Python3.0 super was changed to drop explicit naming of parent class source reference
PySide6 Layoutsfor n, color in enumerate(["red", "green", "blue", "yellow"]): could be for color in ["red", "green", "blue", "yellow"]
in menus lesson label.setAlignment(Qt.AlignCenter) should likely be label.setAlignment(Qt.AlignmentFlag.AlignCenter)
The text was updated successfully, but these errors were encountered:
QComboBox.NoInsert
(or whatever policy) should likely beQComboBox.InsertPolicy.NoInsert
super(MainWindow, self).__init__()
could besuper().__init__()
throughout...as of Python3.0 super was changed to drop explicit naming of parent class source referencefor n, color in enumerate(["red", "green", "blue", "yellow"]):
could befor color in ["red", "green", "blue", "yellow"]
label.setAlignment(Qt.AlignCenter)
should likely belabel.setAlignment(Qt.AlignmentFlag.AlignCenter)
The text was updated successfully, but these errors were encountered: