title: How to get return values of Dialog input to the another funtion in PyQt5?
body: <p>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().</p>
  
  <pre><code>#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.
  </code></pre>