Getting QTextDocumentLayout
-
Hello.
I have a QTextEdit object in my app. I want to overload QTextDocumentLayout::resizeInlineObject() function of the document's layout. How to do that? Can I change the layout of the document to main?
-
you need to create new class based on QTextEdit class and add same method to new class with full same declartions
-
The method resizeInlineObject() is in the QTextDocumentLayout class, not in the QTextEdit class.
-
Why QTextDocumentLayout class is private? Why cannot I to derive from it?
-
Almost one year later, I am now wondering the same thing. It's a lot of very useful code that could help us with customizing document layouts.
-
And 169 days later, this issue claims yet another victim.
-
Hi all,
What about "QAbstractDocumentLayout":http://qt-project.org/doc/qt-5/qabstracttextdocumentlayout.html ?