def setIndexModeEvent(self, indexMode):
        axisIndices = self.sliderCombo.getAxisIndices()
        axisValues = self.sliderCombo.getAxisValues()        
        
        self.sliderCombo.setIndexMode(indexMode)        
        if (indexMode == True):
            self.sliderCombo.setStartIndex(0)
            self.sliderCombo.replaceComboBoxValues(axisIndices)
        else:
            self.sliderCombo.replaceComboBoxValues(axisValues)

        self.sliderCombo.updateMax()
        self.sliderCombo.updateMin()
setIndexModeEvent(indexMode: bool)
dataset/ETHPy150Open VisTrails/VisTrails/contrib/cdat/cdat_window.py/QAxis.setIndexModeEvent