Details
-
Suggestion
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
None
-
None
-
3f40a8b5b (dev)
Description
Currently only lists starting at 1 are supported, and they must be in ascending order.
It would be quite nice to add the start and reversed properties so that lists in text edits etc. become more flexible.
This could also be controlled through the QTextList class with functions such as:
void QTextList::setStart(int start); void QTextList::setReversed(bool reversed); int QTextList::start() const; bool QTextList::reversed() const;
start can be any number, negative or positive, with a default value of 1.
reversed is true if the list is descending and false if the list is ascending. It has a default value of false.
Attachments
Issue Links
- duplicates
-
QTBUG-30407 QTextList does not support the "start" attribute for ordered lists
- Closed
-
QTBUG-63652 Provide qtquickcontrols2.conf file options for attached properties that must be specified often
- Reported
Gerrit Reviews
For Gerrit Dashboard: QTBUG-107562 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
464347,5 | tst_QLabel: Combine setTextAndFormat; test markdown and list rendering | dev | qt/qtbase | Status: NEW | -1 | 0 |
460444,12 | Add QTextListFormat::start: html and markdown ordered list index offset | dev | qt/qtbase | Status: MERGED | +2 | 0 |