Allow usage of detailedsorry and detailederror in kdialog

Review Request #105304 - Created June 20, 2012 and submitted

Information
Kai Uwe Broulik
kde-baseapps
Reviewers
kde-baseapps
As somebody who loves bash scripting but also wants to have a nice userfriendly graphical "interface" for those scripts, I excessively use kdialog.
In a new project I am working on, I need the detailedsorry thing in KMessageBox, so I can provide a simple error message "could not launch xyz" while allowing detailed error information such as "directory xyz does not exist" in an expandable Details box.
This patch adds this functionality to kdialog.
Usage:
kdialog --detailedsorry "error message" "what should be in the details section"
also works with detailederror

[I am volunteering for an update of the respective Wiki page on techbase http://techbase.kde.org/index.php?title=Development/Tutorials/Shell_Scripting_with_KDE_Dialogs_%28de%29 as well. Those screenshots date back to KDE 3 and early KDE 4 times ;) ]
Tested and works. Works with linebreaks and other parameters as well.

Screenshots

David Faure
Kai Uwe Broulik
David Faure
Commit Hook
Kai Uwe Broulik
Review request changed

Status: Closed (submitted)

Loading...