Arduino Python Serial Communication

Hello, i have a simple arduino programm which wries each second “Hello” into the serial communication, and now my python code with PyQt as interface:

import sys
from PyQt4 import QtGui, QtCore, uic
import serial
import time

ser = serial.Serial('COM3', 9600)

class GUI(QtGui.QDialog):
	def __init__(self):
		QtGui.QDialog.__init__(self)
		self.ui = uic.loadUi('gui.ui', self)

		self.ui.pB_send.clicked.connect(self.send)

		self.ui.cB_D0.stateChanged.connect(self.D0)
		self.ui.cB_D1.stateChanged.connect(self.D1)
		self.ui.cB_D2.stateChanged.connect(self.D2)
		self.ui.cB_D3.stateChanged.connect(self.D3)
		self.ui.cB_D4.stateChanged.connect(self.D4)
		self.ui.cB_D5.stateChanged.connect(self.D5)
		self.ui.cB_D6.stateChanged.connect(self.D6)
		self.ui.cB_D7.stateChanged.connect(self.D7)
		self.ui.cB_D8.stateChanged.connect(self.D8)
		self.ui.cB_D9.stateChanged.connect(self.D9)
		self.ui.cB_D10.stateChanged.connect(self.D10)
		self.ui.cB_D11.stateChanged.connect(self.D11)
		self.ui.cB_D12.stateChanged.connect(self.D12)
		self.ui.cB_D13.stateChanged.connect(self.D13)
		self.ui.cB_A0.stateChanged.connect(self.A0)
		self.ui.cB_A1.stateChanged.connect(self.A1)
		self.ui.cB_A2.stateChanged.connect(self.A2)
		self.ui.cB_A3.stateChanged.connect(self.A3)
		self.ui.cB_A4.stateChanged.connect(self.A4)
		self.ui.cB_A5.stateChanged.connect(self.A5)		
		self.getC()
		
	def send(self):
		print('bla')
		data = self.ui.lE_cmd.text()
		ser.write(bytearray(data,'ascii'))
		self.getC()

	def getC(self):
		while True:
			inp = str(ser.readline())
			a = inp.split('\'')
			b = a[1].split('\\')
			self.ui.tE_serM.append(b[0])
			time.sleep(5)

	def D0(self):
		print('bla')
	def D1(self):
		print('bla')
	def D2(self):
		print('bla')
	def D3(self):
		print('bla')
	def D4(self):
		print('bla')
	def D5(self):
		print('bla')
	def D6(self):
		print('bla')
	def D7(self):
		print('bla')
	def D8(self):
		print('bla')
	def D9(self):
		print('bla')
	def D10(self):
		print('bla')
	def D11(self):
		print('bla')
	def D12(self):
		print('bla')
	def D13(self):
		print('bla')

	def A0(self):
		print('bla')
	def A1(self):
		print('bla')
	def A2(self):
		print('bla')
	def A3(self):
		print('bla')
	def A4(self):
		print('bla')
	def A5(self):
		print('bla')

app = QtGui.QApplication(sys.argv)
gui = GUI()
gui.show()
sys.exit(app.exec_())
ser.close()

here at the attachment is the gui.ui file.

can you help me to show at the text-box the “serial monitor”?

thank you

gui.ui (7.04 KB)