manuskript/manuskript/ui_qt/helpLabel.py
TheJackiMonster 59662921a7
Started adding UI python code and renamed Qt files for compatibility
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2021-05-16 20:23:10 +02:00

23 lines
669 B
Python

#!/usr/bin/env python
# --!-- coding: utf8 --!--
from PyQt5.QtWidgets import QLabel, QSizePolicy
class helpLabel(QLabel):
def __init__(self, text=None, parent=None):
QLabel.__init__(self, text, parent)
self.setSizePolicy(QSizePolicy.Preferred, QSizePolicy.Maximum)
self.setStatusTip(self.tr("If you don't wanna see me, you can hide me in Help menu."))
self.setStyleSheet("""
QLabel {
background-color:lightYellow;
border:1px solid lightGray;
border-radius: 10px;
margin: 3px;
padding:10px;
color:gray;
}""")