143 def __init__(self, parent=None, dnd=False): |
143 def __init__(self, parent=None, dnd=False): |
144 """ |
144 """ |
145 Constructor |
145 Constructor |
146 |
146 |
147 @param parent reference to the parent widget (QWidget) |
147 @param parent reference to the parent widget (QWidget) |
148 @keyparam dnd flag indicating the support for Drag & Drop (boolean) |
148 @param dnd flag indicating the support for Drag & Drop (boolean) |
149 """ |
149 """ |
150 super(E5TabWidget, self).__init__(parent) |
150 super(E5TabWidget, self).__init__(parent) |
151 |
151 |
152 if dnd: |
152 if dnd: |
153 if not hasattr(self, 'setMovable'): |
153 if not hasattr(self, 'setMovable'): |