In PyQt6, regression from PyQt5 Qt.FocusPolicy.ClickFocus | Qt.FocusPolicy.WheelFocus fails, one has to instead do Qt.FocusPolicy(Qt.FocusPolicy.ClickFocus.value | Qt.FocusPolicy.WheelFocus.value) -- _____________________________________ Dr. Kovid Goyal https://www.kovidgoyal.net https://calibre-ebook.com _____________________________________