I want to hide the cursor too, and it's worked with your code.Okay, I gave up on disabling the cursor on the main GUI, but used the following code in my Python PyQt5 app to hide the cursor:Imports:Code:
class Window(QMainWindow):def __init__(self):super().__init__()self.initUI()self.setCursor(QCursor(Qt.BlankCursor))
Code:
from PyQt5.QtCore import Qtfrom PyQt5.QtGui import QCursor
Statistics: Posted by Walterclaytor — Tue Nov 19, 2024 2:02 am