overlay module¶
-
class
overlay.
Overlay
(parent=None)¶ Bases:
PyQt5.QtWidgets.QWidget
Show a waiting indicator as an overlay.
Code taken from: https://wiki.python.org/moin/PyQt/A%20full%20widget%20waiting%20indicator
-
paintEvent
(event)¶ Paint circles on screen as an waiting indicator for the user.
- Parameters
event – loading pdf
- Returns
None
-
showEvent
(event)¶ Show the painted waiting indicator.
- Parameters
event – loading pdf
- Returns
None
-
timerEvent
(event)¶ Timer for the duration of the inidicator
- Parameters
event – loading pdf
- Returns
None
-