Commit 823f7323 authored by Kaitlyn Lee's avatar Kaitlyn Lee
Browse files

Added comments.

parent 6ed92777
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -274,6 +274,14 @@ namespace Isis {
    }
  }

    /**
     * This method finds the index of the header in checkBoxItems by looping
     * through checkBoxItems, grabbing the header from each QList, and parsing
     * the header at ":" to account for check boxes turning on multiple columns
     *
     * @param keyword Header to be found
     * @return int
     */
    int AdvancedTrackTool::getIndex(QString keyword) {
      int index = 0;
      QList< QList<QString> >::iterator iter;
+44 −45
Original line number Diff line number Diff line
@@ -130,10 +130,9 @@ namespace Isis {
      QString settingsFilePath() const;

      // Used to store information about each check box to later add to the table
      // New entries can be added anywhere in the map.
      // Format: {<Header>, {<onByDefault>, <menuText>, <toolTip>}}
      // New entries can be added anywhere in the QList.
      // Format: QList<QString>({<Header>, <onByDefault>, <menuText>, <toolTip>}) <<
      // If a toolTip is not needed, use "".

      QList<QList<QString> > checkBoxItems = QList<QList<QString> >() <<
        QList<QString>({"Id", "false", "Id", ""}) <<
        QList<QString>({"Sample:Line", "true", "Sample:Line", ""}) <<