def moveToRight(self):
    qr = self.frameGeometry()
    cp = QDesktopWidget().availableGeometry().topLeft()
    qr.moveTopRight(cp)
    self.move(qr.topRight())
def moveToRight(self):
    qr = self.frameGeometry()
    cp = QDesktopWidget().availableGeometry().topLeft()
    qr.moveTopRight(cp)
    self.move(qr.topRight())