Set the maintext_lb to display text information about the given reftrack

        :param index: the index
        :type index: :class:`QtGui.QModelIndex`
        :returns: None
        :rtype: None
        :raises: None
769247
def set_maintext(self, index):
        
        dr = QtCore.Qt.DisplayRole
        text = ""
        model = index.model()
        for i in (1, 2, 3, 5, 6):
            new = model.index(index.row(), i, index.parent()).data(dr)
            if new is not None:
                text = " | ".join((text, new)) if text else new

        self.maintext_lb.setText(text)
17780
public void setEnterpriseText(int index, String value)
   {
      set(selectField(ResourceFieldLists.ENTERPRISE_TEXT, index), value);
   }
850276
public void setEnterpriseText(int index, String value)
   {
      set(selectField(AssignmentFieldLists.ENTERPRISE_TEXT, index), value);
   }
618133
def GetIndex(self):
        '''
        '''
        if self.index is None:
            return None

        if self.index:
            res, ui = chmlib.chm_resolve_object(self.file, self.index)
            if (res != chmlib.CHM_RESOLVE_SUCCESS):
                return None

        size, text = chmlib.chm_retrieve_object(self.file, ui, 0l, ui.length)
        if (size == 0):
            sys.stderr.write('GetIndex: file size = 0\n')
            return None
        return text
15173
def addIndex(self, index):
        
        index.setSchema(self)
        self.__indexes[index.name()] = index
494087
def setData(self, index: QModelIndex, value, role=None):
        """"""
        if not (index.isValid() and role == Qt.CheckStateRole):
            return False
        c_id = self.get_item(index).Id
        self._set_id(c_id, value == Qt.Checked, index)
        return True
1063451
def _add_sj_index_commands(fq1, ref_file, gtf_file):
    
    if _has_sj_index(ref_file):
        return ""
    else:
        rlength = fastq.estimate_maximum_read_length(fq1)
        cmd = " --sjdbGTFfile %s " % gtf_file
        cmd += " --sjdbOverhang %s " % str(rlength - 1)
        return cmd
1505
def setModelData(self, editor, model, index):
        
        value = editor.currentText()
        model.setData(index, wrapVariant(value))
600532
def set_index(self, index):
        
        item = index.internalPointer()
        self.actionunit = item.internal_data()
        self.setEnabled(bool(self.actionunit.status.traceback))
616358
def navigateToIndex( self, index ):
        
        self._completerTree.hide()
        item = self._navigationModel.itemFromIndex(index)
        self.setText(self._navigationModel.itemPath(item))
587815
def _add_index(self, index):
        
        index_name = index.get_name()
        index_name = self._normalize_identifier(index_name)
        replaced_implicit_indexes = []

        for name, implicit_index in self._implicit_indexes.items():
            if implicit_index.is_fullfilled_by(index) and name in self._indexes:
                replaced_implicit_indexes.append(name)

        already_exists = (
            index_name in self._indexes
            and index_name not in replaced_implicit_indexes
            or self._primary_key_name is not False
            and index.is_primary()
        )
        if already_exists:
            raise IndexAlreadyExists(index_name, self._name)

        for name in replaced_implicit_indexes:
            del self._indexes[name]
            del self._implicit_indexes[name]

        if index.is_primary():
            self._primary_key_name = index_name

        self._indexes[index_name] = index

        return self
157196
def _display_data(self, index):
        """"""
        return to_qvariant(self._data[index.row()][index.column()])
130419
def remap_index_fn(ref_file):
    
    return os.path.join(os.path.dirname(os.path.dirname(ref_file)), "star")
87966
def register_index(self, index):
    

    self._indexes[index._name] = index
    self.create_index(index)
    return index
1209423
def setCurrentIndex(self, index):
        
        if 0 <= index and index < len(self._stack):
            self._blockStack = True
            self._index = index
            self.emitCurrentChanged()
            self._blockStack = False
            return True
        return False
576394
private void updateClassForTab(int index) {

        Widget widget = m_tabbedPanel.getWidget(index);

        String propertyTabStyle = STYLE_PROPERTIES_TAB_ACTIVE;
        if (widget == m_propertiesTab) {
            CmsImagePreviewDialog.this.addStyleName(propertyTabStyle);
        } else {
            CmsImagePreviewDialog.this.removeStyleName(propertyTabStyle);
        }
    }
765053
public void setIncludeIndex(final Boolean includeIndex) {
        if (includeIndex == null && this.includeIndex == null) {
            return;
        } else if (includeIndex == null) {
            removeChild(this.includeIndex);
            this.includeIndex = null;
        } else if (this.includeIndex == null) {
            this.includeIndex = new KeyValueNode<Boolean>(CommonConstants.CS_INDEX_TITLE, includeIndex);
            appendChild(this.includeIndex, false);
        } else {
            this.includeIndex.setValue(includeIndex);
        }
    }