You could use a QTextList to keep all headings of a certain level and under
a certain heirarchy. The blocks that we add to a QTextList need not be
consecutive, so it can hold headings/subheadings at a certain level at
different points in the document. However, I think numbering them as 1.1,
1.2, 1.
I think you can use html in the QTextDocument, so what's about
Heading1 etc.?
Philipp
Am 08.03.2012 10:17, schrieb Graham Labdon:
Hello,
As part of my application I need to provide a document editor that
allows the use of heading levels, for example
*1 Heading 1*
*1.1 Heading 1.1*
etc.
I'm
Hello,
As part of my application I need to provide a document editor that allows the
use of heading levels, for example
1 Heading 1
1.1 Heading 1.1
etc.
I'm not looking for someone to provide a complete solution but would appreciate
some hints on how best to achieve this
Thanks
_