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