The source project of this merge request has been removed.
Add ability to check widget's size and aspect ratio
Up to now we could check the size of a widget using
<pqevent object=".../MultiViewWidget1" command="size" arguments="640,400" />
Following the same idea, this MR adds the ability for a >=
comparison :
<pqevent object=".../MultiViewWidget1" command="sizeGreaterOrEqual" arguments="640,400" />
and a way to check aspectRatio of a widget :
<pqevent object=".../MultiViewWidget1" command="aspectRatio" arguments="1.6" />
The first add flexibility when we just want to guarantee that a minimum widget size was achieved. The second is especially useful for checking the previews generated by ParaView against the requested aspect ratio.