Review Request 105304: Allow usage of detailedsorry and detailederror in kdialog

Kai Uwe Broulik kde at privat.broulik.de
Sun Oct 13 19:07:33 BST 2013


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/105304/
-----------------------------------------------------------

(Updated Oct. 13, 2013, 6:07 p.m.)


Review request for KDE Base Apps.


Changes
-------

Rebase diff to current master


Repository: kde-baseapps


Description
-------

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 ;) ]


Diffs (updated)
-----

  kdialog/kdialog.cpp b275ccf 

Diff: http://git.reviewboard.kde.org/r/105304/diff/


Testing
-------

Tested and works. Works with linebreaks and other parameters as well.


Screenshots
-----------

a sample message
  http://git.reviewboard.kde.org/r/105304/s/606/


Thanks,

Kai Uwe Broulik

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20131013/35a91465/attachment.htm>


More information about the kde-core-devel mailing list