9 Commits

Author SHA1 Message Date
Nyall Dawson
c2529994aa Use rich text editor for annotation text item widgets
Makes it easier for users to style annotation items with rich
formatting, instead of forcing use of raw HTML
2024-08-15 06:25:08 +10:00
Nyall Dawson
e8724fa45e Add mode switch for QgsRichTextEditor
Allows using the widget in a QgsTextRenderer HTML subset mode,
where only functionality supported by QgsTextRenderer is
exposed in the widget. Also add a Plain Text mode.
2024-08-15 06:25:08 +10:00
Nyall Dawson
3a578d6712 Header update 2024-08-13 20:28:55 +10:00
Nyall Dawson
f126339a82 Fix round trip of html content edit in the model designer help dialog
And use QgsRichTextEditor widget to give a nice editing experience
for the help components which support html content.
2022-03-30 15:41:53 +10:00
Juergen E. Fischer
c6008b7ee1 fix MSVC build: reverts fee62e4, dff05dd and e3a77b9484c effectivly
reverting 3fb0f66 (followup #45348)

Using --no-public-is-protected (default on Windows) also works on Linux
and fixes #45331 too
2021-10-21 23:03:48 +02:00
nirvn
ef84e48a09 Run sipify_all.sh 2021-10-12 16:34:05 +10:00
Denis Rouzaud
ec16736306 run sipify 2021-10-12 16:34:05 +10:00
Nyall Dawson
5fa48420d7 Make widget more qgis-esque 2021-04-21 14:41:09 +10:00
Nyall Dawson
7ad31ca1df Create QgsRichTextEditor widget, as a straightforward port from
https://github.com/Anchakor/MRichTextEditor, with some QGIS
formatting and practices applied
2021-04-21 14:41:09 +10:00