Commit graph

13 commits

Author SHA1 Message Date
John Preston
02440524ea Add per-line geometry / colors customization for Text. 2023-10-04 22:17:27 +04:00
John Preston
4539d0bab4 Add PlainLink(TextWithEntities) and SingleCustomEmoji. 2022-11-02 16:38:17 +04:00
John Preston
7f1dd3c351 Add Ui::Text::Link(TextWithEntities, url/index). 2022-10-25 16:41:11 +04:00
23rd
88966598b8 Removed limitations on number of indexes. 2022-02-25 12:56:10 +03:00
23rd
7e1effeeeb Added support for custom indexes of links in Ui::String::Text. 2022-02-05 18:40:23 +03:00
23rd
7bd7ada3ff Split qt_adapters to separated files. 2022-01-24 19:29:36 +03:00
23rd
09b56b019b Added utilities to wrap TextWithEntities. 2022-01-08 08:24:06 +03:00
23rd
745ce34dd5 Added new entity type for plain non-interactive links.
Increased size of the block flags by two bits.
Added a text utility to wrap a simple text with plain links.
Added a new flag to specify parsing of plain links.
2022-01-08 08:24:06 +03:00
23rd
c9a9751472 Added utilities to mid and filter TextWithEntities. 2022-01-08 08:24:06 +03:00
Ilya Fedin
ee36b1f451 Use StringViewMid adapter 2021-10-20 10:27:52 +04:00
Ilya Fedin
8e5d35229a Simple replacements for Qt 6
QStringRef -> QStringView
QTextCursor constructor accepts a QTextDocument only
Some headers are moved, so paths are removed
QMatrix -> QTransform
Methods returning qsizetype are wrapped to int()s to allow compiler to deduce the type
2021-10-19 17:06:25 +04:00
John Preston
555a9d203c Add a separate Semibold entity type. 2020-05-08 12:07:35 +04:00
John Preston
85c83003ca Initial commit. 2019-09-17 17:48:58 +03:00