title: How to control QML UI with PySide?
body: <p>I try to create QML-PYSIDE calculator. However I couldnt find any example like that. I also checked pyside wiki but couldn't understand how to run QML-PySide together. 
     For example I would like to run addition app with QML-PySİde.( a+b=c). I can control addition app GUI (sumui.ui) created by QtDesigner with Python (converted by PySideTools). But I can't control addition app QML (inputtext, button ) with Python.
     I'm new to python-qt. So I typed pyside-qtdesigner and qml GUI for understanding relitionship between PySide-QtWidgets and PySide-QML UI. (sorry for my bad English)</p>
  
  <p>PySide addition app:</p>
  
  <p>Picture of app: <a href="http://postimg.org/image/envp8jgg9/" rel="nofollow">http://postimg.org/image/envp8jgg9/</a></p>
  
  <p>addition.py:</p>
  
  <pre><code># addition.py
  from PySide import QtCore, QtGui
  from sumui import Ui_Form
  import sys
  
  def derece(degrees):
      return degrees*((2*pi)/400)
  class hesap(QtGui.QWidget):
      def __init__(self):
        QtGui.QWidget.__init__(self)
  
        self.ui = Ui_Form()
        self.ui.setupUi(self)
  
        # Validations
        tempValidator = QtGui.QDoubleValidator()
        tempValidator.setNotation(QtGui.QDoubleValidator.StandardNotation)
        self.ui.a.setValidator(tempValidator)
        self.ui.b.setValidator(tempValidator)
        self.setupConnections()
  
      def topla(self):
          a1 = float(self.ui.a.text())
          b1 = float(self.ui.b.text())
          c1 = a1 + b1
          cc1 = str(c1)
          self.ui.c.setText(str(cc1))
  
  
  
      def setupConnections(self):
          self.connect(self.ui.sum, QtCore.SIGNAL('clicked()'),
            self.topla)
  if __name__ == "__main__":
  
      app = QtGui.QApplication(sys.argv)
      window = hesap()
      window.show()
      sys.exit(app.exec_())
  </code></pre>
  
  <p>QML GUI: <a href="http://postimg.org/image/pocxfcf19/" rel="nofollow">http://postimg.org/image/pocxfcf19/</a>
  addition.qml:</p>
  
  <pre><code>import QtQuick 1.1
  Rectangle {
      id:r
      anchors.centerIn: parent
      width: 200
      height: 200
      Column{
          width: r.width*0.8
          height: r.height*0.8
          spacing: 10
          anchors.centerIn: parent
          Row{
              id:ro
              spacing:10
              Text {
                  anchors.centerIn: ro.parent
                  font.bold: true
                  text: "a"
              }
              TextInput {
                  id: a
                  width: r.width*3/4
                  height: 20
                  selectionColor: "#2f8bc5"
                  fillColor: "lightgray"
                  font.bold: true
              }
          }
          Row{
              spacing:10
          Text {
              text: "b"
              font.bold: true
          }
          TextInput {
              id: b
              width: r.width*3/4
              height: 20
              fillColor: "lightgray"
              font.bold: true
          }
          }
          Rectangle {
              id: calculate
              width: r.width
              height: 30
              color: "#8a0800"
              //x:b.width*0.2
              Text{
                  anchors.centerIn: calculate
                  font.bold: true
                  text:"calculate";color:"white"}
                  gradient: Gradient {
                  GradientStop {
                      position: 0
                      color: "#8a0800"
                  }
                  GradientStop {
                      position: 1
                      color: "#330009"
                  }
              }
          }
  
          Row{
              spacing:10
          Text {
              text: "c"
              font.bold: true
          }
          TextInput {
              id: c
              font.bold: true
              width: r.width*3/4
              height: 20
              fillColor: "lightgray"
              selectionColor: "#2f8bc5"
              font.pixelSize: 12
          }
          }
      }
  }
  </code></pre>
  
  <p>How to run QML addition UI with PySide? Or is there any example like PySide-QML calculator?
  Thanks</p>