Porting feedback: Hiding the Help button in KConfigDialog

Eike Hein hein at kde.org
Mon Feb 17 15:00:08 UTC 2014


Hi,

in the KDialog-based KConfigDialog of yesteryear, it was fairly easy
to hide the Help button:

  dialog->button(KDialog::Help)->hide();

This is useful for apps that don't (yet) ship a handbook, since it
avoids mounting user frustration when a click on Help actually re-
sults in a nasty error message (though it's actually looking less
nasty these days).

In Frameworks, this isn't possible any longer since the buttons
reside in a private QDialogButtonBox. Might be nice to get it back
tho ...


Cheers,
Eike


More information about the Kde-frameworks-devel mailing list