Snapshot/SnapshotTimer.py

changeset 3039
8dd0165d805d
parent 3034
7ce719013078
child 3060
5883ce99ee12
child 3160
209a07d7e401
equal deleted inserted replaced
3038:7fe9a53280bd 3039:8dd0165d805d
113 """ 113 """
114 screenGeom = QApplication.desktop().screenGeometry() 114 screenGeom = QApplication.desktop().screenGeometry()
115 if self.x() == screenGeom.left(): 115 if self.x() == screenGeom.left():
116 self.move( 116 self.move(
117 screenGeom.x() + 117 screenGeom.x() +
118 (screenGeom.width() // 2 - self.size().width() // 2), 118 (screenGeom.width() // 2 - self.size().width() // 2),
119 screenGeom.top()) 119 screenGeom.top())
120 else: 120 else:
121 self.move(screenGeom.topLeft()) 121 self.move(screenGeom.topLeft())

eric ide

mercurial