Temporarily sets a QApplication override cursor for the lifetime
of the object, then removes it
Makes it easier to ensure that the override is always removed
regardless of the exit path taken.
Usage:
- QgsGui::instance()->enableAutoGeometryRestore( this ); just
after setupUi in your widgets to enable.
- Remove any calls to saveGeometry() and restoreGeometry() in your
widgets.