Hi!
Tell me please is there any another way to print rich text? -
In the richtext example there is :
but QTextEdit lost some options - such as editor->setWordWrapMode ( QTextOption::WrapAnywhere ); during printing.Qt Code:
void MainWindow::printFile() { QPrinter printer; printer.setFullPage(false); dialog->setWindowTitle(tr("Print Document")); return; document->print(&printer); }To copy to clipboard, switch view to plain text mode
What to do ?
Thanks!
--
Igor
Bookmarks