Skip to content

supports dynamic SVGs in layouts - #43119

Merged
3nids merged 14 commits into
qgis:masterfrom
3nids:dynamic-svg-layout
May 11, 2021
Merged

supports dynamic SVGs in layouts #43119
3nids merged 14 commits into
qgis:masterfrom
3nids:dynamic-svg-layout

Conversation

@3nids

@3nids 3nids commented May 7, 2021

Copy link
Copy Markdown
Member

image

This also fixes a UX bug where you couldn't switch between raster and SVG radios if the data defined property was active
Switching now keeps the same source line edit which avoid the former tricks.

fixes #42280

This depends on #43099

@github-actions github-actions Bot added this to the 3.20.0 milestone May 7, 2021
Comment thread src/gui/layout/qgslayoutitemwidget.h Outdated
@nyalldawson

Copy link
Copy Markdown
Collaborator

Does this fix #42280 in the process?

@3nids

3nids commented May 8, 2021

Copy link
Copy Markdown
Member Author

Yes this fixes #42280

@nyalldawson nyalldawson left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs tests too!

Comment thread python/gui/auto_generated/qgsfilecontentsourcelineedit.sip.in Outdated
Comment thread python/gui/auto_generated/qgsfilecontentsourcelineedit.sip.in Outdated
Comment thread python/gui/auto_generated/symbology/qgssvgselectorwidget.sip.in Outdated
Comment thread src/gui/layout/qgslayoutitemwidget.h Outdated
@nyalldawson nyalldawson added the Requires Tests! Waiting on the submitter to add unit tests before eligible for merging label May 9, 2021
@3nids

3nids commented May 10, 2021

Copy link
Copy Markdown
Member Author

For me, this is ready to merge.

@3nids 3nids removed the Requires Tests! Waiting on the submitter to add unit tests before eligible for merging label May 10, 2021
Comment thread src/gui/layout/qgslayoutpicturewidget.cpp Outdated
Comment thread src/gui/qgsfilecontentsourcelineedit.cpp Outdated
Comment thread src/gui/symbology/qgssvgselectorwidget.h Outdated
Comment thread src/gui/layout/qgslayoutpicturewidget.cpp Outdated

@nirvn nirvn left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🙏 thanks -- nice feature BTW.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants