Refs #10408 Use QLabel to show hints

Instead of relying on QToolTip (which has problems on OSX), create a
QLabel widget and style it to look like a tooltip.
Merge branch 'feature/10408_autocomplete_tweaks' into develop