Line in QTextEdit
General and Desktop
3
Posts
2
Posters
1.8k
Views
1
Watching
-
wrote on 18 Nov 2011, 06:36 last edited by
Hello,
I wish to represent a line in a QTextEdit in x position (with a stylesheet ???) to symbolize a page break.
Have you a idea ?
Thank you
-
wrote on 18 Nov 2011, 08:14 last edited by
The style sheet approach is not bad, but in this case you have no special tag to 'style'.
The plugin way is not bad but you have 'just' a character, and of course you haven't like you want a paragraph.
The only way I see is that you add paragraph containing only a plugin and to take care of the cursor move to avoid the edition of this 'special' text block.
-
wrote on 18 Nov 2011, 13:54 last edited by
You mean create multiple QTextEdit in QScrollArea for example ?
If that's right, I tried but the management of the number of page when deleting rows, for example is not so easy :)
Otherwise can you be more specific about your idea?
In advance thank you
3/3