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

Kai Uwe Broulik kde at privat.broulik.de
Mon Oct 14 19:40:48 BST 2013


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

(Updated Oct. 14, 2013, 6:40 p.m.)


Status
------

This change has been marked as submitted.


Review request for KDE Base Apps.


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
-----

  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/20131014/297477ea/attachment.htm>


More information about the kde-core-devel mailing list