Beispiel #1
0
 def __init__(self, text, parent, enter, leave):
     QLabel.__init__(self, text, parent)
     self._enter = enter
     self._leave = leave
Beispiel #2
0
 def __init__(self, parent=None, designMode=False):
     QLabel.__init__(self, parent)
     NicosWidget.__init__(self)
     self._refresh()
Beispiel #3
0
 def __init__(self, parent, curvalue, text='editing impossible'):
     QLabel.__init__(self, parent)
     self.setText('(%s)' % text)
     self._value = curvalue
Beispiel #4
0
 def __init__(self, parent, designMode=False, **kwds):
     self._fulltext = ''
     QLabel.__init__(self, parent, **kwds)
     NicosWidget.__init__(self)
     self._squeeze()