E5Network/E5SslInfoWidget.py

changeset 2666
a9d0feafa87b
parent 2537
0ff250733d45
child 2677
3d4277929fb3
child 2990
583beaf0b4b8
equal deleted inserted replaced
2665:edc098381123 2666:a9d0feafa87b
166 Public method to show the widget. 166 Public method to show the widget.
167 167
168 @param pos position to show at (QPoint) 168 @param pos position to show at (QPoint)
169 """ 169 """
170 self.adjustSize() 170 self.adjustSize()
171 p = QPoint(pos.x() - self.width(), pos.y() + 10) 171 xpos = pos.x() - self.width()
172 if xpos < 0:
173 xpos = 10
174 p = QPoint(xpos, pos.y() + 10)
172 self.move(p) 175 self.move(p)
173 self.show() 176 self.show()
174 177
175 def __showCertificateInfos(self): 178 def __showCertificateInfos(self):
176 """ 179 """

eric ide

mercurial