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

Authored by asensi on May 10 2020, 7:51 PM.

Details

Summary

Modify createFontChooser(...) 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

Repository
R167 Krusader
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
gengisdave accepted this revision.May 14 2020, 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 createFontChooser()

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