qgis / qgis4.0_api

Tracker for QGIS 4.0 API related issues and developer discussion
3 stars 1 forks source link

Split up QgsPalLayerSettings to seperate placement, rendering, text formatting options... #29

Open nyalldawson opened 8 years ago

nyalldawson commented 8 years ago

(maybe this is doable without breaking API, but it would be a PITA)

QgsPalLayerSettings is a big bog of settings covering everything from text formatting to label placement rules. This is an issue if the existing placement rules and settings are to be reused outside of text labels (eg giving the same placement options for diagrams as for labels), as most of the contents of QgsPalLayerSettings won't have any use.

Parts of the labeling GUI should also be split of into reusable widgets (eg placement settings), so that we can have consistent placement settings for diagrams and labels. This would also come in handy when additional label providers are added.