mirror of
https://github.com/olivierkes/manuskript.git
synced 2024-09-28 07:21:31 +12:00
13 lines
325 B
Python
13 lines
325 B
Python
#!/usr/bin/env python
|
|
# --!-- coding: utf8 --!--
|
|
from PyQt5.QtWidgets import QLabel, QSizePolicy
|
|
|
|
|
|
class statusLabel(QLabel):
|
|
def __init__(self, text=None, parent=None):
|
|
QLabel.__init__(self, text=text, parent=parent)
|
|
|
|
self.setMouseTracking(True)
|
|
|
|
def mouseMoveEvent(self, event):
|
|
self.hide()
|