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