src/eric7/EricGui/EricOverrideCursor.py

branch
eric7
changeset 11148
15e30f0c76a8
parent 11090
f5f5f5803935
equal deleted inserted replaced
11147:dee6e106b4d3 11148:15e30f0c76a8
59 QGuiApplication.restoreOverrideCursor() 59 QGuiApplication.restoreOverrideCursor()
60 QGuiApplication.processEvents( 60 QGuiApplication.processEvents(
61 QEventLoop.ProcessEventsFlag.ExcludeUserInputEvents 61 QEventLoop.ProcessEventsFlag.ExcludeUserInputEvents
62 ) 62 )
63 63
64 return None # __IGNORE_WARNING_M831__ 64 return None # __IGNORE_WARNING_M-831__
65 65
66 66
67 class EricOverridenCursor(contextlib.AbstractContextManager): 67 class EricOverridenCursor(contextlib.AbstractContextManager):
68 """ 68 """
69 Class implementing a context manager class for an overriden cursor. 69 Class implementing a context manager class for an overriden cursor.
113 QGuiApplication.setOverrideCursor(QCursor(self.__cursorShape)) 113 QGuiApplication.setOverrideCursor(QCursor(self.__cursorShape))
114 QGuiApplication.processEvents( 114 QGuiApplication.processEvents(
115 QEventLoop.ProcessEventsFlag.ExcludeUserInputEvents 115 QEventLoop.ProcessEventsFlag.ExcludeUserInputEvents
116 ) 116 )
117 117
118 return None # __IGNORE_WARNING_M831__ 118 return None # __IGNORE_WARNING_M-831__
119 119
120 120
121 class EricOverrideCursorProcess(QProcess): 121 class EricOverrideCursorProcess(QProcess):
122 """ 122 """
123 Class implementing a QProcess subclass controlling an override cursor. 123 Class implementing a QProcess subclass controlling an override cursor.

eric ide

mercurial