If you don't have any other format in the text: save the text to a QString, clear the edit and set the text with the new color. Otherwise I guess you have to loop through your text formats.
If you don't have any other format in the text: save the text to a QString, clear the edit and set the text with the new color. Otherwise I guess you have to loop through your text formats.
Thanks. I've tried setting the StyleSheet, but it is overridden by the text formats. Saving and clearing works fine; the only other format was a base font.
Bookmarks