slint/api/cpp/include
Ashley 710f0c1968
Styled Text: add a macro and functions for parsing markdown (#10060)
* Add markdown macro and parse/escape functions

* Markdown stuff

* Implement escape markdown, handle trailing literal sections

* add StyledText Type and Value

* Implement more things

* [autofix.ci] apply automated fixes

* Rename MarkdownText to StyledText

* Add comments and solve warnings

* Apply automated fixes

* Fill out styled text type

* Change rendertext trait to use enum

* Add allow missing docs to stuff

* Fix testing backend thing

* Move test

* Don't use std:: for certain types

* Fix api/node

* [autofix.ci] apply automated fixes

* Rename to StyledTextItem

* Ignore styledtext in cpp for now

* Remove whitespace change

* Add tests, cpp generator changes

* Add markdown interpolation tests

* Add more tests, some fixes

* Implement some StyledText things

* Fix sharedparley imports

* Manually implement StyledText cpp type

* [autofix.ci] apply automated fixes

* Fix escape and parse markdown functions

* [autofix.ci] apply automated fixes

* Add ignore pyi, documentation for cpp styled text

* Apply some suggestions

* [autofix.ci] apply automated fixes

* Add cpp functions for styled text

* [autofix.ci] apply automated fixes

* Add documentation

* Fix api exports

* class -> struct

* Gate exports behind shared-parley

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-01 22:58:56 +13:00
..
slint-interpreter.h Rename "Live Reload" feature to "Live Preview for Rust/C++" 2025-08-28 17:26:01 +02:00
slint-platform.h Fix typos (#8421) 2025-05-12 13:03:59 +02:00
slint-stm32.h Revert "stm32: Fix compilation with newer STM BSPs" 2025-02-08 23:18:08 +01:00
slint-testing.h Add the accessible-id property (#9940) 2025-11-05 10:54:11 +01:00
slint.h Styled Text: add a macro and functions for parsing markdown (#10060) 2025-12-01 22:58:56 +13:00
slint_brush.h Add support for CSS conic-gradient 'from <angle>' syntax (#9830) 2025-11-13 16:05:16 +01:00
slint_callbacks.h Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
slint_color.h Add support for CSS conic-gradient 'from <angle>' syntax (#9830) 2025-11-13 16:05:16 +01:00
slint_config.h Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
slint_image.h Fix C++ examples for SharedPixelBuffer 2025-11-21 23:39:46 +01:00
slint_interpreter.h Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
slint_item_tree.h C++: move model code to its own file 2025-03-25 10:37:20 +01:00
slint_live_preview.h Translations: allow to opt out of default context 2025-11-26 11:11:07 +01:00
slint_models.h Update slint_models.h 2025-11-13 06:58:22 +01:00
slint_pathdata.h Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
slint_point.h infra: Test out mise 2025-03-20 16:33:00 +01:00
slint_properties.h Two ways binding to struct fields with C++ 2025-10-24 17:33:13 +02:00
slint_sharedvector.h Re-run clang-format with version 18 2024-06-10 02:25:40 -07:00
slint_size.h Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
slint_string.h Styled Text: add a macro and functions for parsing markdown (#10060) 2025-12-01 22:58:56 +13:00
slint_tests_helpers.h Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
slint_timer.h C++: add asserts that we are in the main thread 2025-05-28 11:29:48 +02:00
slint_window.h More optimization when the scale factor is constant 2025-11-04 14:05:50 +01:00
vtable.h C++: adapt to menu bar API change 2025-07-29 16:53:57 +02:00