mirror of
https://github.com/olivierkes/manuskript.git
synced 2024-05-18 11:52:25 +12:00
26 lines
678 B
Python
26 lines
678 B
Python
#!/usr/bin/env python
|
|
#--!-- coding: utf8 --!--
|
|
|
|
|
|
|
|
|
|
from qt import *
|
|
|
|
class helpLabel(QLabel):
|
|
|
|
def __init__(self, text=None, parent=None):
|
|
QLabel.__init__(self, text, parent)
|
|
|
|
self.setSizePolicy(QSizePolicy.Preferred, QSizePolicy.Maximum)
|
|
|
|
self.setStatusTip("Infobulle: Si tu me trouve dérengant, tu peux me cacher via le menu Aide.")
|
|
|
|
self.setStyleSheet("""
|
|
QLabel {
|
|
background-color:lightYellow;
|
|
border:1px solid lightGray;
|
|
border-radius: 10px;
|
|
margin: 3px;
|
|
padding:10px;
|
|
color:gray;
|
|
}""") |