qtextdocument
Find all strings wanted and select them with QPlainTextEdit::setExtraSelections()
I\'m trying to highlight al开发者_如何学Cl strings find in a QPlainTextEdit widget , but find() will[详细]
2023-04-09 17:24 分类:问答Problem in Moving QTextCursor to the End
I\'m trying to implement a simple text search in an editor i\'m writing. Everything have been fine until this problem! I\'m trying to implement a backward search here. The procedure is: look for the s[详细]
2023-03-21 23:48 分类:问答QTextEdit and QTextDocument buffer problem?
I have a string. It has about 80000 line.I try to write QTextDocument * textDocument=new QTextDocument();[详细]
2023-01-26 06:04 分类:问答Populate a QTextDocument from a .odt file
I am writing a rich text editor using C++ and Qt. For now, I would like it to support (at least) the .odt format.[详细]
2023-01-17 05:38 分类:问答Qt4.6: QTextDocument <HR> tag prints only very thin, almost invisible hair lines
When printing a QTextDocument with doc->print() I almost cannot see the horizontal rules inserted by <hr>开发者_运维知识库. When printing to PDF these are clearly visible. But when printed to[详细]
2023-01-03 04:15 分类:问答How do I determine the height of a QTextDocument?
Given a specific width, I want to find out the height of a QTextDocument.In other words, if the QTextEdit that contains the QTextDocument is w wide, what is its minimum height h in order to fully disp[详细]
2023-01-02 22:12 分类:问答