eric6/E5Gui/E5OverrideCursor.py

changeset 7774
9eed155411f0
parent 7771
787a6b3f8c9f
child 7775
4a1db75550bd
equal deleted inserted replaced
7773:fe42bd17d4fe 7774:9eed155411f0
12 12
13 from PyQt5.QtCore import pyqtSlot, Qt, QProcess, QEventLoop 13 from PyQt5.QtCore import pyqtSlot, Qt, QProcess, QEventLoop
14 from PyQt5.QtGui import QCursor, QGuiApplication 14 from PyQt5.QtGui import QCursor, QGuiApplication
15 15
16 16
17 # TODO: add similar class for QMutexLocker
18 class E5OverrideCursor(contextlib.AbstractContextManager): 17 class E5OverrideCursor(contextlib.AbstractContextManager):
19 """ 18 """
20 Class implementing a context manager class for an override cursor. 19 Class implementing a context manager class for an override cursor.
21 """ 20 """
22 def __init__(self, cursorShape=Qt.WaitCursor): 21 def __init__(self, cursorShape=Qt.WaitCursor):

eric ide

mercurial