I'm new to Qt and I'm attempting to sub-class QPlainTextEdit in order to create a bottom-aligned text widget.
I'm a little unsure how or where to make the changes to override the default text placement. From my reading of the help notes I thought I needed to create a corresponding layout class (derived from
QPlainTextDocumentLayout) to do this. However, I run into obvious problems gaining access QPlainTextDocumentLayoutPrivate members/methods, so I am doubting this is the correct approach.
I did think this would be a relatively straight-forward task. Am I in the right area or should I be looking at the scroll-area stuff instead?
Any suggestions/advice much appreciated.