Hmm... why do you inherit QTextEdit?
Hi wysota,
Thanks for your response.
My function like "Text Box" function in Microsoft Word, so I create a class which inherit QTextEdit and add to QWidget, user input text, change font style, change size and display that text from the top to bottom, from the right to the left, like Japanese style.
I inherit QTextEdit, because I can get characters which user input and draw again.
Best regards,
So why not use QTextDocument and QAbstractTextDocumentLayout to do what you want?
duck88 (29th July 2014)
Dear wysota,
Thanks for your advice.
Best Regards,
Bookmarks