qtextedut set text color example python Example: set colour to inserplaintext qtextedit in python edit->textCursor().insertText(text);