Esempio n. 1
0
 def moveEvent(self, event):
     rect = self.geometry()
     config.set("juice_x", rect.x())
     config.set("juice_y", rect.y())
     config.save()
Esempio n. 2
0
 def resizeEvent(self, event):
     rect = self.geometry()
     self.webview.setGeometry(0, 0, rect.width(), rect.height())
     config.set("juice_height", rect.height())
     config.save()