# -*- coding: utf-8 -*-
"""
Created on Mon Dec 11 14:45:12 2017

@author: Administrator
"""

#1     QtextEdit操作
#读取文件框，price_box是文本框的对象名
self.obj.toPlainText()
#写文件框，self.results_window.setText(total_price_string)
self.obj.setText(str)


#2       QspinBox读取
#读取
self.obj.value()
#写
self.obj.setValue(int)