I wrote a while loop in pyqt but I want it to stop to take input from user.I do this in python with raw_input but it doesn't work in pyqt.How can I do this in pyqt.

while cev != cevap:
	tahminler += 1
	
	ui.label_6.setText(QtGui.QApplication.translate("MainWindow", "Yanlış cevap!", None, QtGui.QApplication.UnicodeUTF8))
	
	f += 1
	
	ui.label_4.setText(cevap[0:f])
	
	if cevap[0:f] == cevap[0:]:
		ui.label_4.setText(cevap[0:f])
		ui.label_6.setText(QtGui.QApplication.translate("MainWindow","İpucu son harfe kadar göstermesine rağmen\n kelimeyi bulamadınız.Büyük başarı!\nŞansınızı yeni kelimede deneyiniz.", None, QtGui.QApplication.UnicodeUTF8))
		
		ui.label_9.setText(QtGui.QApplication.translate("MainWindow", soz[sor1], None, QtGui.QApplication.UnicodeUTF8))				
		liste.pop(s)
		return self.sor()
HERE ?
"cev = raw_input("..................:")"

I need a code here to take input from user like "raw_input"