How to get values returned from the QDialog box to the another funtion.Here below code i want to get value of x_value in ValueRequiredFuntion() from x_value of the ValueInput().
#inside __init__()
self.ui.pushButton.clicked.connect(self.ValueInput)
def ValueInput(self):
x_value, ok = QInputDialog.getDouble(self, "Change X Value","Enter the New Value", 0.0,0, 100, )
def ValueRequiredFuntion(self):
#How to get x_value here.