def changeElementHeight(self, prop): if float(prop.text()) > self._minHeight: x = PFSUndoPropertyText(prop, self.resizeHeight) x.setText("Alterar altura") self.scene()._page._net.undoStack.push(x)
def changeElementWidth(self, prop): if float(prop.text()) > self._minWidth: x = PFSUndoPropertyText(prop, self.resizeWidth) x.setText("Alterar largura") self.scene()._page._net.undoStack.push(x)
def changeElementPosY(self, prop): x = PFSUndoPropertyText(prop, self.moveY) x.setText("Mover") self.scene()._page._net.undoStack.push(x)
def changeOutputNum(self, prop): x = PFSUndoPropertyText(prop, self.setOutputNum) x.setText("Alterar saĆdas") self.scene()._page._net.undoStack.push(x)
def changeText(self, prop): x = PFSUndoPropertyText(prop, self.setText) x.setText("Alterar texto") self.scene()._page._net.undoStack.push(x)
def changeLineWidth(self, prop): x = PFSUndoPropertyText(prop, self.setPenWidth) self.scene()._page._net.undoStack.push(x)
def changeElementHeight(self, prop): x = PFSUndoPropertyText(prop, self.resizeHeight) self.scene()._page._net.undoStack.push(x)
def changeElementPosX(self, prop): x = PFSUndoPropertyText(prop, self.moveX) self.scene()._page._net.undoStack.push(x)