Commit a01635bc authored by Ken Edmundson's avatar Ken Edmundson
Browse files

PROG: Modified method onBundleSolutionInfoAdded to append the bundleoutput.txt...

PROG: Modified method onBundleSolutionInfoAdded to append the bundleoutput.txt (Summary) file to the BundleSolution Statistics node. Also changed the name of the Images node under Statistics to Image to prevent Import Images to appear on it's context menu.
parent 1615c5d1
Loading
Loading
Loading
Loading
+8 −2
Original line number Diff line number Diff line
@@ -384,7 +384,13 @@ namespace Isis {
            ProjectItem *pItem = new ProjectItem(bundleSolutionInfo);
            resultsItem->appendRow( pItem );

            // Append the CSV files to the Statistics in the project
            // Append text bundle summary and CSV files to the Statistics in the project
            ProjectItem *bundleSummaryItem = new ProjectItem(FileItemQsp(
               new FileItem(bundleSolutionInfo->savedBundleOutputFilename())),
                            "Summary", bundleSolutionInfo->savedBundleOutputFilename(),
                            QIcon(FileName("$base/icons/office-chart-pie.png")
                            .expanded()));
            pItem->child(2)->appendRow(bundleSummaryItem);
            ProjectItem *residualsItem = new ProjectItem(FileItemQsp(
               new FileItem(bundleSolutionInfo->savedResidualsFilename())),
                            "Measure Residuals", bundleSolutionInfo->savedResidualsFilename(),
@@ -393,7 +399,7 @@ namespace Isis {
            pItem->child(2)->appendRow(residualsItem);
            ProjectItem *imagesItem = new ProjectItem(FileItemQsp(
               new FileItem(bundleSolutionInfo->savedImagesFilename())),
                            "Images", bundleSolutionInfo->savedImagesFilename(),
                            "Image", bundleSolutionInfo->savedImagesFilename(),
                            QIcon(FileName("$base/icons/office-chart-pie.png")
                            .expanded()));
            pItem->child(2)->appendRow(imagesItem);
+4 −0
Original line number Diff line number Diff line
@@ -126,6 +126,10 @@ namespace Isis {
   *                           not clean. Fixes #5174.
   *   @history 2017-11-03 Christopher Combs - Added support for new Template and TemplateList
   *                           classes. Fixes #5117.
   *   @history 2018-03-22 Ken Edmundson - Modified method onBundleSolutionInfoAdded to append the
   *                           bundleoutput.txt (Summary) file to the BundleSolution Statistics
   *                           node. Also changed the name of the Images node under Statistics to
   *                           Image to prevent Import Images to appear on it's context menu.
   */
  class ProjectItemModel : public QStandardItemModel {