Nyall Dawson
3f6b490218
Sipify
2025-04-02 11:11:10 +10:00
Nyall Dawson
6d122f0038
Sipify
2025-03-30 20:48:07 +10:00
Nyall Dawson
dd84aab200
Add background brush property for QgsTextBlock, QgsTextFragment
2024-11-22 05:59:44 +10:00
Nyall Dawson
f9a7ac7329
Add methods to insert content into QgsTextBlock/QgsTextDocument
2024-10-21 13:41:51 +10:00
Nyall Dawson
65c654d2c8
Prep for calculating word wrapping in text document metrics
2024-10-10 11:09:18 +10:00
Nyall Dawson
a492cb22fb
[feature] Support horizontal alignment in HTML labels
...
For multi-line labels, this allows use of either:
- HTML <p align="xxx"> attributes
- CSS "text-align: xxx"
- HTML <center>some text</center> tags
Supported alignments are left, right, center and justify
Horizontal alignment can be used in all contexts where
HTML text is rendered, EXCEPT for curved labels (since they
are restricted to single-line text)
Sponsored by City of Freiburg im Breisgau
2024-09-16 17:26:24 +10:00
Nyall Dawson
3a578d6712
Header update
2024-08-13 20:28:55 +10:00
Nyall Dawson
fce4ed06b8
Split fragments on tab characters
2024-05-25 06:10:28 +10:00
Nyall Dawson
dae69acc76
[feature] Support Small Caps style in labels/text renderer
...
Adds two new capitalization styles for labels and text symbols:
- Small Caps: Renders lowercase characters as small caps
- All Small Caps: Renders all characters as small caps (regardless
of their original case)
Requires Qt 6.3+, or Qt 5.15 using KDE's fork and the cmake
HAS_KDE_QT5_SMALL_CAPS_FIX switch defined during build.
2021-11-08 14:36:44 +11:00
Nyall Dawson
711a615be3
Fix raises sphinx format
2021-06-25 10:50:04 +10:00
Nyall Dawson
bb0dfb6ba3
Doxygen says no
2021-06-10 11:03:43 +10:00
Nyall Dawson
49e48f9383
Better approach to avoid duplicate docs
2021-06-10 11:03:43 +10:00
Nyall Dawson
4ff3f447dc
Don't try to insert links in raises blocks in PyQGIS docs
...
These aren't formatted correctly if we do
2021-06-10 11:03:43 +10:00
Nyall Dawson
8359281012
Fix formatting of exception blocks in PyQGIS docs
2021-06-10 11:03:43 +10:00
Denis Rouzaud
ba8a445850
run sipify
2021-03-22 21:13:52 +01:00
Nyall Dawson
50b9beaad6
[sipify] Catch more class references and insert :py:class: annotations
2021-01-31 05:41:22 +10:00
Nyall Dawson
620948f809
Add method to change capitalization of QgsTextDocument
2020-09-21 12:05:54 +10:00
Nyall Dawson
52f774158e
Add method to convert a QgsTextBlock to plain text
2020-07-09 13:23:20 +10:00
Nyall Dawson
99c8510709
Sipify
2020-05-12 15:37:22 +10:00
Nyall Dawson
180bbeccb8
PyQGIS syntatic sugar, start on tests for QgsTextDocument
2020-05-12 13:26:50 +10:00
Nyall Dawson
9a63810d82
Use composition rather then inheritance for QgsTextBlock/QgsTextDocument
...
Allows us to expose these to python and hopefully fixes compilation issue on Travis
2020-05-12 10:33:30 +10:00
Nyall Dawson
0e139992e3
Split massive qgstextrenderer.cpp/.h files into separate files per
...
contained class
and tighten includes to speed up recompilation
2020-05-12 10:33:30 +10:00