[Qt-interest] Bottom-aligned QPlainTextEdit
Simon Haswell
SimonHaswell at toby-churchill.com
Wed Aug 3 11:03:36 CEST 2011
Hi there,
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.
Thanks.
Simon
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
More information about the Qt-interest-old
mailing list