title: quantum geographic information system
body: <pre><code>def run(self):
          """Run method that performs all the real work"""
          # show the dialog
          self.dlg.show()
          # Run the dialog event loop
          x = self.dlg.lineEdit.text()
          y = self.dlg.lineEdit_2.text()
          z = int(x)+int(y)
          result = self.dlg.exec_()
          # See if OK was pressed
              # Do something useful here - delete the line containing pass and
              # substitute with your code.
          QMessageBox.information(self.iface.mainWindow(),"sum is =", "%d" %z)
  </code></pre>
  
  <p>But it shows an ValueError in <code>z=int(x)+int(y)</code>.x and y are from line edit box..type of x and y is unicode...
  How should I add x and y?</p>