I want to add required in my QPlainTextEdit so that when there is a blank QPlainTextEdit, the user will then be prompted that there is a blank input.
This is my sample code and I want to add required in that QPlainTextEdit.
self.plainTextEdit = QtGui.QPlainTextEdit(Form)
self.plainTextEdit.setGeometry(QtCore.QRect(110, 80, 251, 31))
self.plainTextEdit.setObjectName(_fromUtf8("txtName"))
Thanks for some answer!.