I use this line in my code to pop up the QInputDialog and take input from the user.
But I want to change the button on this pop-up dialogue
def add(self):
text, ok = QInputDialog.getText(self, " ", "Enter Value")
if text == "" or text.isdigit() == False:
print("Enter valid input")
self.alert()
else:
print("ok value")
self.ui.label_result.setText(str(text))