code: def get_selected(self):
          '''返回选中要下载的文件的编号及sha1值, 从1开始计数.'''
          selected_idx = []
          for i, row in enumerate(self.liststore):
              if row[CHECK_COL]:
                  selected_idx.append(i + 1)
          return (selected_idx, self.file_sha1f get_selected(self):
          '''返回选中要下载的文件的编号及sha1值, 从1开始计数.'''
          selected_idx = []
          for i, row in enumerate(self.liststore):
              if row[CHECK_COL]:
                  selected_idx.append(i + 1)
          return (selected_idx, self.file_sha1)
docs: 返回选中要下载的文件的编号及sha1值, 从1开始计数.