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.