mirror of
https://github.com/olivierkes/manuskript.git
synced 2024-09-30 01:07:24 +13:00
14 lines
325 B
Python
14 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()
|