Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
supports dynamic SVGs in layouts (#43119)
* add QgsSvgOrImageSourceLineEdit to dynamically switch between SVG and Image line edit * use QgsXmlUtils to save custom properties * adapt QgsSvgSelectorWidget to support other images: * source line edit can be switched to image * SVG specific components can be hidden * [FEATURE] supports dynamic SVGs in layouts also fix a UX bug where you couldn't switch between raster and SVG radios if the data defined property was active (unreported in tracker) * add tests for dynamic SVGs in layouts * use public method instead of protected member * better wording and dox * fix dox * fix build * refresh picture after setting params * fix expressions * add control image * address review + fix file filter for any image * avoid adding unclear API
- Loading branch information
Showing
17 changed files
with
424 additions
and
485 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.