Import 2017-06-07 23:51:09: master 9e7de725

Author Committer Branch Timestamp Parent
lassoan lassoan master 2017-01-21 18:04:24 master 4d38cdcc
Changeset

ENH: Added CLI output display to module widget

Problem:
It is often difficult to find out why a CLI failed or get detailed output.
(user would need to open the log window and find the messages in the log,
but most users don't even know that there is a log window).

Solution:

Expand button is added next to the status message.
User can click there to show/hide all details.
Error output is displayed in red, at the top. Standard output is displayed black.
Window is automatically sized to show all content with minimal need for scrolling.

If CLI completes with errors, error output is displayed regardless of show/hide details choice.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@25646 3bd1e089-480b-0410-8dfb-8563597acbee

mod - Base/QTCLI/qSlicerCLIProgressBar.cxx Diff File
mod - Base/QTCLI/qSlicerCLIProgressBar.h Diff File
mod - Base/QTCLI/vtkSlicerCLIModuleLogic.cxx Diff File
mod - Libs/MRML/CLI/vtkMRMLCommandLineModuleNode.cxx Diff File
mod - Libs/MRML/CLI/vtkMRMLCommandLineModuleNode.h Diff File