How about using QTextDocuemnt::setDefaultStyleSheet()?
How about using QTextDocuemnt::setDefaultStyleSheet()?
No dice. I added:
Qt Code:
document.setDefaultStyleSheet("* {font-size: 24}");To copy to clipboard, switch view to plain text mode
I also tried variations (*=body, p, no selector and no{ }, etc). Is my style sheet syntax wrong?
Last edited by Scorp1us; 1st March 2007 at 15:02.
I don't think this is enough, but let's now assume it is. When did you apply the stylesheet?
Bookmarks