2790:6686a3326df8 | 2791:a9577f248f04 |
---|---|
15 from Utilities import compactPath | 15 from Utilities import compactPath |
16 | 16 |
17 | 17 |
18 class E5SqueezeLabel(QLabel): | 18 class E5SqueezeLabel(QLabel): |
19 """ | 19 """ |
20 Class implementing a label that squeezes its contents to fit it's size. | 20 Class implementing a label that squeezes its contents to fit its size. |
21 """ | 21 """ |
22 def __init__(self, parent=None): | 22 def __init__(self, parent=None): |
23 """ | 23 """ |
24 Constructor | 24 Constructor |
25 | 25 |
54 super(E5SqueezeLabel, self).setText(self.__text) | 54 super(E5SqueezeLabel, self).setText(self.__text) |
55 | 55 |
56 | 56 |
57 class E5SqueezeLabelPath(QLabel): | 57 class E5SqueezeLabelPath(QLabel): |
58 """ | 58 """ |
59 Class implementing a label showing a file path compacted to fit it's size. | 59 Class implementing a label showing a file path compacted to fit its size. |
60 """ | 60 """ |
61 def __init__(self, parent=None): | 61 def __init__(self, parent=None): |
62 """ | 62 """ |
63 Constructor | 63 Constructor |
64 | 64 |