Konfigurator: Avoid needing to apply `setWhatsThis()` and `setToolTip()` before calling `createEditBox()`

Authored by asensi on Sun, May 10, 7:48 PM.



Modify createEditBox(...) in order to require a QLabel as an argument,
therefore applying setWhatsThis(toolTip) and setToolTip() to
that QLabel is done automatically (and those steps do not have to
be remembered by developers).

Test Plan

Diff Detail

R167 Krusader
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.
gengisdave accepted this revision.Thu, May 14, 8:43 PM
gengisdave added a subscriber: gengisdave.

Compiled and tested, tooltips are visible when hovering with the mouse and with the help button. No tooltips are set outside createEditBox()

This revision is now accepted and ready to land.Thu, May 14, 8:43 PM
This revision was automatically updated to reflect the committed changes.