isis/src/qisis/objs/ProjectItem/ProjectItem.cpp
void ProjectItem::setBundleSolutionInfo(BundleSolutionInfo *bundleSolutionInfo) {
    setTextColor(Qt::black);
    if (bundleSolutionInfo->name() != "") {
      setText( bundleSolutionInfo->name() );
    }
    else {
      setText( bundleSolutionInfo->runTime() );
    }
    setIcon( QIcon(FileName("$ISISROOT/appdata/images/icons/kchart.png")
                           .expanded()));
    setData( QVariant::fromValue<BundleSolutionInfo *>(bundleSolutionInfo) );
  }
/**
   * Sets the text, icon, and data corresponding to a BundleSolutionInfo.
   *
   * @param[in] bundleSolutionInfo (BundleSolutionInfo *) The BundleSolutionInfo.
   */
Sets the text, icon, and data corresponding to a BundleSolutionInfo.
Sets the text icon and data corresponding to a BundleSolutionInfo .
void ProjectItem::setBundleSolutionInfo(BundleSolutionInfo *bundleSolutionInfo) {
    setTextColor(Qt::black);
    if (bundleSolutionInfo->name() != "") {
      setText( bundleSolutionInfo->name() );
    }
    else {
      setText( bundleSolutionInfo->runTime() );
    }
    setIcon( QIcon(FileName("$ISISROOT/appdata/images/icons/kchart.png")
                           .expanded()));
    setData( QVariant::fromValue<BundleSolutionInfo *>(bundleSolutionInfo) );
  }
void ProjectItem :: setBundleSolutionInfo ( BundleSolutionInfo * bundleSolutionInfo ) { setTextColor ( Qt :: black ) ; if ( bundleSolutionInfo -> name ( ) != " " ) { setText ( bundleSolutionInfo -> name ( ) ) ; } else { setText ( bundleSolutionInfo -> runTime ( ) ) ; } setIcon ( QIcon ( FileName ( " " ) . expanded ( ) ) ) ; setData ( QVariant :: fromValue < BundleSolutionInfo * > ( bundleSolutionInfo ) ) ; }
Sets the text, icon, and data corresponding to a BundleSolutionInfo.
Sets the text icon and data corresponding to a BundleSolutionInfo .