168 Public method to show the widget. |
168 Public method to show the widget. |
169 |
169 |
170 @param pos position to show at (QPoint) |
170 @param pos position to show at (QPoint) |
171 """ |
171 """ |
172 self.adjustSize() |
172 self.adjustSize() |
173 p = QPoint(pos.x() - self.width(), pos.y() + 10) |
173 xpos = pos.x() - self.width() |
|
174 if xpos < 0: |
|
175 xpos = 10 |
|
176 p = QPoint(xpos, pos.y() + 10) |
174 self.move(p) |
177 self.move(p) |
175 self.show() |
178 self.show() |
176 |
179 |
177 def __showCertificateInfos(self): |
180 def __showCertificateInfos(self): |
178 """ |
181 """ |