113 self.xSpinBox.setMaximum( |
113 self.xSpinBox.setMaximum( |
114 self.xSpinBox.maximum() - self.__notification.width()) |
114 self.xSpinBox.maximum() - self.__notification.width()) |
115 self.ySpinBox.setMaximum( |
115 self.ySpinBox.setMaximum( |
116 self.ySpinBox.maximum() - self.__notification.height()) |
116 self.ySpinBox.maximum() - self.__notification.height()) |
117 self.__firstTime = False |
117 self.__firstTime = False |
118 self.__firstTime = False |
|
119 else: |
118 else: |
120 # retrieve the position |
119 # retrieve the position |
121 point = self.__notification.frameGeometry().topLeft() |
120 point = self.__notification.frameGeometry().topLeft() |
122 self.xSpinBox.setValue(point.x()) |
121 self.xSpinBox.setValue(point.x()) |
123 self.ySpinBox.setValue(point.y()) |
122 self.ySpinBox.setValue(point.y()) |