31 """ |
31 """ |
32 super(E5LineEditSideWidget, self).__init__(parent) |
32 super(E5LineEditSideWidget, self).__init__(parent) |
33 |
33 |
34 def event(self, evt): |
34 def event(self, evt): |
35 """ |
35 """ |
36 Protected method to handle events. |
36 Public method to handle events. |
37 |
37 |
38 @param evt reference to the event (QEvent) |
38 @param evt reference to the event (QEvent) |
39 @return flag indicating, whether the event was recognized (boolean) |
39 @return flag indicating, whether the event was recognized (boolean) |
40 """ |
40 """ |
41 if evt.type() == QEvent.LayoutRequest: |
41 if evt.type() == QEvent.LayoutRequest: |
122 """ |
122 """ |
123 return self.__leftMargin |
123 return self.__leftMargin |
124 |
124 |
125 def event(self, evt): |
125 def event(self, evt): |
126 """ |
126 """ |
127 Protected method to handle events. |
127 Public method to handle events. |
128 |
128 |
129 @param evt reference to the event (QEvent) |
129 @param evt reference to the event (QEvent) |
130 @return flag indicating, whether the event was recognized (boolean) |
130 @return flag indicating, whether the event was recognized (boolean) |
131 """ |
131 """ |
132 if evt.type() == QEvent.LayoutDirectionChange: |
132 if evt.type() == QEvent.LayoutDirectionChange: |