Feature request #10544
Allow math expressions in print composer size and position controls
|Pull Request or Patch supplied:||No||Resolution:|
|Easy fix?:||No||Copied to github as #:||18952|
One very handy feature that many design software have is the ability to use simple math expressions in size and position controls fields.
For instance, if you have an item with a height of x, and you want to double it's height, you would be able to simply type after the x value '* 2' and press enter. The control would solve the math expression and set the new value. The same could be done with +, - , / and even %
[FEATURE] Evaluate expressions entered in QgsDoubleSpinBox
Allows entry of QGIS expressions into the spin box. The expression
is evaluated on enter or loss of focus and then discarded.
Flip all composer double spin boxes to QgsDoubleSpin (refs #10544)
Add clear buttons to applicable properties.
#1 Updated by Andreas Neumann about 6 years ago
There is an ongoing contract (a swiss province and Nyall Dawson) that will implement expression support for page resizing in Atlas serial printing.
This is kind of similar to your request - but slightly different. I guess you need just a temporary expression to calculate stuff, not in the atlas printing context.